共用方式為


Contains 方法 (ISfcProperty)

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

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

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

參數

傳回值

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

實作

ISfcPropertySet. . :: . .Contains(ISfcProperty)