Condividi tramite


Metodo ServerGroupCollection.Contains (String)

Determines whether the specified server group exists in the referenced collection.

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    name As String _
) As Boolean
'Utilizzo
Dim instance As ServerGroupCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(name)
public bool Contains(
    string name
)
public:
bool Contains(
    String^ name
)
member Contains : 
        name:string -> bool
public function Contains(
    name : String
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that is true if the specified server group exists in the referenced collection. Otherwise, false.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Vedere anche

Riferimento

ServerGroupCollection Classe

Overload Contains

Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers