UsesFacet 方法

Determines whether the facet identified by the parameter is contained by the Condition.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function UsesFacet ( _
    facet As String _
) As Boolean
用法
Dim instance As Policy
Dim facet As String
Dim returnValue As Boolean

returnValue = instance.UsesFacet(facet)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public bool UsesFacet(
    string facet
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
bool UsesFacet(
    String^ facet
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
member UsesFacet : 
        facet:string -> bool 
public function UsesFacet(
    facet : String
) : boolean

参数

返回值

类型:System. . :: . .Boolean
A Boolean value, True if the facet is contained by the Condition, otherwise False.