次の方法で共有


クラス SMS_Collectionの DeleteMembershipRules メソッド

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

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

構文

SInt32 DeleteMembershipRules(
      SMS_CollectionRule collectionRules[]
);

パラメーター

collectionRulesデータ型: 配列SMS_CollectionRule

修飾子: [in]

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

戻り値

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

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

要件

ランタイム要件

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

開発要件

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

関連項目

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