Partilhar via


Método CreatePolicyFromFacet (, String, String, String, XmlWriter)

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public Sub CreatePolicyFromFacet ( _
    target As SfcQueryExpression, _
    facetName As String, _
    policyName As String, _
    conditionName As String, _
    writer As XmlWriter _
)
'Uso
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim facetName As String
Dim policyName As String
Dim conditionName As String
Dim writer As XmlWriter

instance.CreatePolicyFromFacet(target, _
    facetName, policyName, conditionName, _
    writer)
public void CreatePolicyFromFacet(
    SfcQueryExpression target,
    string facetName,
    string policyName,
    string conditionName,
    XmlWriter writer
)
public:
void CreatePolicyFromFacet(
    SfcQueryExpression^ target, 
    String^ facetName, 
    String^ policyName, 
    String^ conditionName, 
    XmlWriter^ writer
)
member CreatePolicyFromFacet : 
        target:SfcQueryExpression * 
        facetName:string * 
        policyName:string * 
        conditionName:string * 
        writer:XmlWriter -> unit 
public function CreatePolicyFromFacet(
    target : SfcQueryExpression, 
    facetName : String, 
    policyName : String, 
    conditionName : String, 
    writer : XmlWriter
)

Parâmetros

  • target
    Tipo: SfcQueryExpression