Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Determines whether the specified value is the number value of any of the numbered objects in the referenced collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
number As Short _
) As Boolean
'Utilisation
Dim instance As NumberedObjectCollectionBase
Dim number As Short
Dim returnValue As Boolean
returnValue = instance.Contains(number)
public bool Contains(
short number
)
public:
bool Contains(
short number
)
member Contains :
number:int16 -> bool
public function Contains(
number : short
) : boolean
Paramètres
- number
Type : System.Int16
An Int16 value that specifies the number value of the object that is being checked to see whether it exists in the collection.
Valeur de retour
Type : System.Boolean
A Boolean value that specifies whether the referenced collection contains the object with the specified number value.If True, the collection contains the specified object. Otherwise, False.