UnsubscribeFromPolicyCategory 方法

Unsubscribes the policy store from the category specified by the policyCategory and target parameters.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub UnsubscribeFromPolicyCategory ( _
    target As SfcQueryExpression, _
    policyCategory As String _
)
用法
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim policyCategory As String

instance.UnsubscribeFromPolicyCategory(target, _
    policyCategory)
public void UnsubscribeFromPolicyCategory(
    SfcQueryExpression target,
    string policyCategory
)
public:
void UnsubscribeFromPolicyCategory(
    SfcQueryExpression^ target, 
    String^ policyCategory
)
member UnsubscribeFromPolicyCategory : 
        target:SfcQueryExpression * 
        policyCategory:string -> unit 
public function UnsubscribeFromPolicyCategory(
    target : SfcQueryExpression, 
    policyCategory : String
)

参数