Méthode CreatePolicyFromFacet (Object, String, String, String, XmlWriter)
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Sub CreatePolicyFromFacet ( _
target As Object, _
facetName As String, _
policyName As String, _
conditionName As String, _
writer As XmlWriter _
)
'Utilisation
Dim instance As PolicyStore
Dim target As Object
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(
Object target,
string facetName,
string policyName,
string conditionName,
XmlWriter writer
)
public:
void CreatePolicyFromFacet(
Object^ target,
String^ facetName,
String^ policyName,
String^ conditionName,
XmlWriter^ writer
)
member CreatePolicyFromFacet :
target:Object *
facetName:string *
policyName:string *
conditionName:string *
writer:XmlWriter -> unit
public function CreatePolicyFromFacet(
target : Object,
facetName : String,
policyName : String,
conditionName : String,
writer : XmlWriter
)
Paramètres
- target
Type : System. . :: . .Object
An Object object.
- facetName
Type : System. . :: . .String
A string value that specifies the name of the target expression.
- policyName
Type : System. . :: . .String
A string value that specifies the name of the new policy.
- conditionName
Type : System. . :: . .String
A string value that specifies the name of the condition defined by the target expression.
- writer
Type : System.Xml. . :: . .XmlWriter
An XmlWriter object.