ISfcPropertySet.Contains-Methode (String)
Determines whether the property collection contains the property specified by the propertyName parameter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private Function Contains ( _
propertyName As String _
) As Boolean Implements ISfcPropertySet.Contains
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- propertyName
Typ: System. . :: . .String
A string value that specifies the name of the property.
Rückgabewert
Typ: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.