ISfcPropertySet.Contains 方法 (String)

Determines whether the property collection contains the property specified by the name parameter.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Private Function Contains(Of T) ( _
    name As String _
) As Boolean Implements ISfcPropertySet.Contains
用法
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(name)
bool ISfcPropertySet.Contains<T>(
    string name
)
private:
generic<typename T>
virtual bool Contains(
    String^ name
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        name:string -> bool 
private override Contains : 
        name:string -> bool 
JScript 不支持一般类型和方法。

类型参数

  • T
    The type of property collection.

参数

返回值

类型:System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.

实现

ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)