Метод RegisteredServerCollection.Contains (String)

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

Пространство имен:  Microsoft.SqlServer.Management.RegisteredServers
Сборка:  Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)

Синтаксис

'Декларация
Public Function Contains ( _
    name As String _
) As Boolean
'Применение
Dim instance As RegisteredServerCollection 
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

Параметры

Возвращаемое значение

Тип: System.Boolean
A Boolean which indicates whether the specified registered server exists in the referenced collection.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

RegisteredServerCollection Класс

Перегрузка Contains

Пространство имен Microsoft.SqlServer.Management.RegisteredServers