다음을 통해 공유


Contains(T) 메서드 (String)

Checks whether a property with the specified name and type is in the property set. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Function Contains(Of T) ( _
    name As String _
) As Boolean
‘사용 방법
Dim instance As ISfcPropertySet
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
bool Contains<T>(
    string name
)
generic<typename T>
bool Contains(
    String^ name
)
abstract Contains : 
        name:string -> bool 
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T
    The type of the property to find.

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the property is in the property set; otherwise, false.