ISfcPropertySet.Contains-Methode (String)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private Function Contains(Of T) ( _
    name As String _
) As Boolean Implements ISfcPropertySet.Contains
'Usage
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(name)
bool ISfcPropertySet.Contains<T>(
    string name
)
private:
generic<typename T>
virtual bool Contains(
    String^ name
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        name:string -> bool 
private override Contains : 
        name:string -> bool 
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T
    The type of property collection.

Parameter

Rückgabewert

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

Implementiert

ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)