Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
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
Параметры
- name
Тип: System.String
A String value that specifies the name of the registered server.
Возвращаемое значение
Тип: System.Boolean
A Boolean which indicates whether the specified registered server exists in the referenced collection.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
См. также
Справочник
RegisteredServerCollection Класс
Пространство имен Microsoft.SqlServer.Management.RegisteredServers