クラス SMS_Collectionの DeleteMembershipRules メソッド

DeleteMembershipRules Configuration Managerの Windows Management Instrumentation (WMI) クラス メソッドは、コレクションから複数のメンバーシップ 規則を削除するために使用されます。

次の構文は、マネージド オブジェクト形式 (MOF) コードから簡略化され、 メソッドを定義します。

構文

SInt32 DeleteMembershipRules(  
      SMS_CollectionRule collectionRules[]  
);  

パラメーター

collectionRules
データ型: SMS_CollectionRule 配列

修飾子: [in]

削除するサーバー WMI クラス オブジェクトをSMS_CollectionRuleします。

戻り値

SInt32成功を示す 0 のデータ型、失敗を示す 0 以外のデータ型。

返されたエラーの処理の詳細については、「Configuration Manager エラーについて」を参照してください。

要件

ランタイム要件

詳細については、「Configuration Manager サーバーランタイム要件」を参照してください。

開発要件

詳細については、「Configuration Manager サーバー開発要件」を参照してください。

関連項目

SMS_Collection サーバー WMI クラス
SMS_Site サーバー WMI クラス