Метод Contains (String)

Determines whether the specified server group 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 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

Параметры

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

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

Замечания

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