共用方式為


SfcPropertyCollection.Contains 方法 (String)

Determines whether the property is in the property collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function Contains ( _
    propertyName As String _
) As Boolean
'用途
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(propertyName)
public bool Contains(
    string propertyName
)
public:
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool  
override Contains : 
        propertyName:string -> bool
public final function Contains(
    propertyName : String
) : boolean

參數

傳回值

型別:System.Boolean
true if the specified property exists in the property collection; otherwise, false.

實作

ISfcPropertySet.Contains(String)

請參閱

參考

SfcPropertyCollection 類別

Contains 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間