ServerGroupCollection 클래스

참고: 이 API는 이제 사용되지 않습니다.

The ServerGroupCollection class represents a collection of ServerGroup objects that represent all the server groups on the server group.

네임스페이스:  Microsoft.SqlServer.Management.Smo.RegisteredServers
어셈블리:  Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended

구문

‘선언
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public NotInheritable Class ServerGroupCollection _
    Inherits RegSvrCollectionBase _
    Implements ICollection, IEnumerable
‘사용 방법
Dim instance As ServerGroupCollection
[ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public sealed class ServerGroupCollection : RegSvrCollectionBase, 
    ICollection, IEnumerable
[ObsoleteAttribute(L"Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public ref class ServerGroupCollection sealed : public RegSvrCollectionBase, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type ServerGroupCollection =  
    class
        inherit RegSvrCollectionBase
        interface ICollection
        interface IEnumerable
    end
public final class ServerGroupCollection extends RegSvrCollectionBase implements ICollection, IEnumerable

주의

A ServerGroupCollection object can be used to gain access to a set of server groups. You can use the Item property to return a specific ServerGroup object.

상속 계층 구조

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrCollectionBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers..::..ServerGroupCollection

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.