共用方式為


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)