コード例 #1
0
ファイル: CimSession.cs プロジェクト: modulexcite/pash-1
		public void DeleteInstance(string namespaceName, CimInstance instance, CimOperationOptions options)
		{
			this.AssertNotDisposed();
			if (instance != null)
			{
				IEnumerable<CimInstance> cimSyncInstanceEnumerable = new CimSyncInstanceEnumerable(options, this.InstanceId, this.ComputerName, (CimAsyncCallbacksReceiverBase asyncCallbacksReceiver) => this.DeleteInstanceCore(namespaceName, instance, options, asyncCallbacksReceiver));
				cimSyncInstanceEnumerable.Count<CimInstance>();
				return;
			}
			else
			{
				throw new ArgumentNullException("instance");
			}
		}