Udostępnij przez


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

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

Syntax

'Deklaracja
Public Sub CreatePolicyFromFacet ( _
    target As Object, _
    facetName As String, _
    policyName As String, _
    conditionName As String, _
    writer As XmlWriter _
)
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
)
public void CreatePolicyFromFacet (
    Object target, 
    String facetName, 
    String policyName, 
    String conditionName, 
    XmlWriter writer
)
public function CreatePolicyFromFacet (
    target : Object, 
    facetName : String, 
    policyName : String, 
    conditionName : String, 
    writer : XmlWriter
)

Parameters

  • target
  • facetName
  • policyName
  • conditionName
  • writer

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0