Méthode ISfcPropertySet.Contains<T> (String)
Checks whether a property with the specified name and type is in the property set.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Function Contains(Of T) ( _
name As String _
) As Boolean
'Utilisation
Dim instance As ISfcPropertySet
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
bool Contains<T>(
string name
)
generic<typename T>
bool Contains(
String^ name
)
abstract Contains :
name:string -> bool
JScript ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- T
The type of the property to find.
Paramètres
- name
Type : System.String
The name of the property to find.
Valeur de retour
Type : System.Boolean
true if the property is in the property set; otherwise, false.