다음을 통해 공유


ServerGroup 클래스

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

ServerGroup 개체는 Microsoft SQL Server 등록된 서버의 그룹을 나타냅니다.

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

구문

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

ServerGroup 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ServerGroup() () () () ServerGroup 개체의 새 인스턴스를 초기화합니다.
공용 메서드 ServerGroup(String) 지정한 이름을 가진 ServerGroup 개체의 새 인스턴스를 초기화합니다.
공용 메서드 ServerGroup(ServerGroup, String) 지정한 서버 그룹을 기반으로 하며 지정한 이름을 가진 ServerGroup 개체의 새 인스턴스를 초기화합니다.

맨 위로 이동

속성

  이름 설명
공용 속성 Description 등록된 서버의 참조된 그룹에 대한 텍스트 설명을 가져오거나 설정합니다.
공용 속성 Name Gets or sets the name of the object. (RegSvrSmoObject에서 상속됨)
공용 속성 Parent 참조된 ServerGroup 개체의 부모인 ServerGroup 개체를 가져오거나 설정합니다.
공용 속성 Path 참조된 서버 그룹의 경로를 가져옵니다.
공용 속성 Properties Gets the properties associated with the object. (RegSvrSmoObject에서 상속됨)
공용 속성 RegisteredServers Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. (ServerGroupBase에서 상속됨)
공용 속성 ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. (ServerGroupBase에서 상속됨)
공용 속성 ServerType 서버 그룹에 연결된 서버 유형을 지정하는 Guid 개체 값을 가져옵니다.
공용 속성 State Gets the state of the referenced object. (SmoObjectBase에서 상속됨)
공용 속성 Urn 서버 그룹을 나타내는 Urn 개체 값을 가져옵니다. (RegSvrSmoObject. . :: . .Urn을(를) 재정의함)
보호된 속성 UrnSkeleton Gets the Urn object that represents the object. (RegSvrSmoObject에서 상속됨)
공용 속성 UserData Gets or sets user-defined data associated with the referenced object. (SmoObjectBase에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Alter Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. (ServerGroupBase에서 상속됨)
보호된 메서드 CheckObjectState Checks the state of the object. (RegSvrSmoObject에서 상속됨)
보호된 메서드 ClearCollections Clears the server group collections. (ServerGroupBase에서 상속됨)
공용 메서드 Create Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. (ServerGroupBase에서 상속됨)
공용 메서드 Drop Removes the ServerGroupBase from the parent server group. (ServerGroupBase에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetSmoObject Gets a RegSvrSmoObject that is specified by a URN. (ServerGroupBase에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 ImplInitialize Initializes the object. (RegSvrSmoObject에서 상속됨)
공용 메서드 Initialize Initializes the object. (RegSvrSmoObject에서 상속됨)
보호된 메서드 IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. (RegSvrSmoObject에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Refresh Refreshes the properties of the object. (RegSvrSmoObject에서 상속됨)
보호된 메서드 SetParentImpl Sets a parent. (RegSvrSmoObject에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)
보호된 메서드 UpdateObjectState Gets the updated object state. (RegSvrSmoObject에서 상속됨)
공용 메서드 Validate Validates the state of an object. (SmoObjectBase에서 상속됨)

맨 위로 이동

주의

To get or set ServerGroup object properties, users must be a member of the sysadmin fixed server role.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

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