다음을 통해 공유


PropertyCollection.ISfcPropertySet.Contains 메서드 (String)

Determines whether the property collection contains the property specified by the name parameter.

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

구문

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

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

유형 매개 변수

  • T
    The type of property collection.

매개 변수

  • name
    유형: System.String
    A string value that specifies the name of the property.

반환 값

유형: System.Boolean
A Boolean value, True if the collection contains the property, otherwise False.

구현

ISfcPropertySet.Contains<T>(String)

참고 항목

참조

PropertyCollection 클래스

Contains 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스