Export (0) Print
Expand All

PolicyStore.CreatePolicyFromFacet Method (SfcQueryExpression, String, String, String, XmlWriter)

Creates new policy from an SfcQueryExpression object and an XmlWriter object.

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

public void CreatePolicyFromFacet(
	SfcQueryExpression target,
	string facetName,
	string policyName,
	string conditionName,
	XmlWriter writer
)

Parameters

target
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
An SfcQueryExpression object.
facetName
Type: String
A string value that specifies the name of the target expression.
policyName
Type: String
A string value that specifies the name of the new policy.
conditionName
Type: String
A string value that specifies the name of the condition defined by the target expression.
writer
Type: XmlWriter
An XmlWriter object.

Community Additions

ADD
Show:
© 2015 Microsoft