ISfcPropertySet.Contains Método (String)
Determines whether the property collection contains the property specified by the name parameter.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Private Function Contains(Of T) ( _
name As String _
) As Boolean Implements ISfcPropertySet.Contains
'Uso
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 no admite tipos y métodos genéricos.
Parámetros de tipo
- T
The type of property collection.
Parámetros
- name
Tipo: System. . :: . .String
A string value that specifies the name of the property.
Valor devuelto
Tipo: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.
Implementa
ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)
Vea también