ServerGroup 클래스

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

The ServerGroup object represents a group of Microsoft SQL Server registered servers.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject
      Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupBase
        Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup

네임스페이스:  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() Initializes a new instance of the ServerGroup object.
공용 메서드 ServerGroup(String) Initializes a new instance of the ServerGroup object that has the specified name.
공용 메서드 ServerGroup(ServerGroup, String) Initializes a new instance of the ServerGroup object based on the specified server group and with the specified name.

맨 위로 이동

속성

  이름 설명
공용 속성 Description Gets or sets the textual description of the referenced group of registered servers.
공용 속성 Name Gets or sets the name of the object. (RegSvrSmoObject에서 상속됨)
공용 속성 Parent Gets or sets the ServerGroup object that is the parent of the referenced ServerGroup object.
공용 속성 Path Gets the path of the referenced server group.
공용 속성 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 Gets the Guid object value that specifies the type of server associated with the server group.
공용 속성 State Gets the state of the referenced object. (SmoObjectBase에서 상속됨)
공용 속성 Urn Gets the Urn object value that represents the server group. (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에서 상속됨)
보호된 메서드 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에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetSmoObject Gets a RegSvrSmoObject that is specified by a URN. (ServerGroupBase에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Initialize Initializes the object. (RegSvrSmoObject에서 상속됨)
보호된 메서드 IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. (RegSvrSmoObject에서 상속됨)
공용 메서드 Refresh Refreshes the properties of the object. (RegSvrSmoObject에서 상속됨)
보호된 메서드 SetParentImpl Sets a parent. (RegSvrSmoObject에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Smo.RegisteredServers 네임스페이스

관련 자료

등록된 서버 관리

sp_ActiveDirectory_SCP (Transact-SQL)