Metodo ISfcPropertySet.Contains (String)
Determines whether the property collection contains the property specified by the name parameter.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Private Function Contains(Of T) ( _
name As String _
) As Boolean Implements ISfcPropertySet.Contains
'Utilizzo
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 non supporta i metodi e i tipi generici.
Parametri di tipo
- T
The type of property collection.
Parametri
- name
Tipo: System. . :: . .String
A string value that specifies the name of the property.
Valore restituito
Tipo: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.
Implementa
ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)
Vedere anche