Partilhar via


Método PartitionNumberedObjectCollectionBase.Contains

Determines whether the specified partition number is present in the collection.

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

Sintaxe

'Declaração
Public Function Contains ( _
    number As Integer _
) As Boolean
'Uso
Dim instance As PartitionNumberedObjectCollectionBase 
Dim number As Integer 
Dim returnValue As Boolean 

returnValue = instance.Contains(number)
public bool Contains(
    int number
)
public:
bool Contains(
    int number
)
member Contains : 
        number:int -> bool
public function Contains(
    number : int
) : boolean

Parâmetros

Valor de retorno

Tipo: System.Boolean
A Boolean value that specifies whether the specified partition number is present in the collection of physical partitions.If True, the collection contains the partition with the specified number. Otherwise, False.

Consulte também

Referência

PartitionNumberedObjectCollectionBase Classe

Namespace Microsoft.SqlServer.Management.Smo