共用方式為


ISfcPropertySet.Contains<T> 方法 (String)

Checks whether a property with the specified name and type is in the property set.

命名空間:  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.

請參閱

參考

ISfcPropertySet 介面

Contains 多載

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