共用方式為


Contains 方法 (String)

Checks whether a property with the specified name 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 ( _
    propertyName As String _
) As Boolean
'用途
Dim instance As ISfcPropertySet
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.Contains(propertyName)
bool Contains(
    string propertyName
)
bool Contains(
    String^ propertyName
)
abstract Contains : 
        propertyName:string -> bool 
function Contains(
    propertyName : String
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
true if the property is in the property set; otherwise, false.