다음을 통해 공유


PolicyStore.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
)

매개 변수

  • policyCategory
    유형: System.String
    A string value that specifies the policy category.

참고 항목

참조

PolicyStore 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스