共用方式為


. 方法 (String)

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

實作

ISfcPropertySetContains(String)