ISfcPropertySet.Contains-Methode (ISfcProperty)
Determines whether the property collection contains the property specified by the parameter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private Function Contains ( _
property As ISfcProperty _
) As Boolean Implements ISfcPropertySet.Contains
'Usage
Dim instance As PropertyCollection
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).Contains(property)
bool ISfcPropertySet.Contains(
ISfcProperty property
)
private:
virtual bool Contains(
ISfcProperty^ property
) sealed = ISfcPropertySet::Contains
private abstract Contains :
property:ISfcProperty -> bool
private override Contains :
property:ISfcProperty -> bool
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- property
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcProperty
A ISfcProperty object.
Rückgabewert
Typ: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.