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 命名空间