다음을 통해 공유


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.