ISfcPropertySet.Contains 方法 (String)

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

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

语法

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

returnValue = CType(instance, ISfcPropertySet).Contains(propertyName)
bool ISfcPropertySet.Contains(
    string propertyName
)
private:
virtual bool Contains(
    String^ propertyName
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        propertyName:string -> bool 
private override Contains : 
        propertyName:string -> bool 
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

返回值

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

实现

ISfcPropertySet. . :: . .Contains(String)