ServerGroup 클래스

The ServerGroup class represents a SQL Server server group.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.RegisteredServers.ServerGroupParent
      Microsoft.SqlServer.Management.RegisteredServers.ServerGroup

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

구문

‘선언
Public NotInheritable Class ServerGroup _
    Inherits ServerGroupParent _
    Implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable,  _
    IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable,  _
    ISfcMovable
‘사용 방법
Dim instance As ServerGroup
public sealed class ServerGroup : ServerGroupParent, 
    ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, 
    ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
public ref class ServerGroup sealed : public ServerGroupParent, 
    ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, 
    ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
[<SealedAttribute>]
type ServerGroup =  
    class 
        inherit ServerGroupParent 
        interface ISfcValidate 
        interface ISfcCreatable 
        interface ICreatable 
        interface ISfcAlterable 
        interface IAlterable 
        interface ISfcDroppable 
        interface IDroppable 
        interface ISfcRenamable 
        interface IRenamable 
        interface ISfcMovable 
    end
public final class ServerGroup extends ServerGroupParent implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable

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

생성자

  이름 설명
공용 메서드 ServerGroup() Initializes a new instance of the ServerGroup class.
공용 메서드 ServerGroup(String) Initializes a new instance of the ServerGroup class that has the specified name.
공용 메서드 ServerGroup(ServerGroup, String) Initializes a new instance of the ServerGroup class that has the specified name and is a subgroup of the specified parent.

맨 위로 이동

속성

  이름 설명
보호된 속성 AbstractIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 속성 Description Gets the name of the server group.
공용 속성 DisplayName Gets the display name of the server group.
공용 속성 ID Gets the ID value that uniquely identifies the server group.
공용 속성 IdentityKey Gets the key value that uniquely identifies the server group.
공용 속성 IsDropped Gets the Boolean value that specifies whether the server group has been dropped or not.
공용 속성 IsLocal Gets the Boolean value that specifies whether the server group local.
공용 속성 IsSystemServerGroup Gets the Boolean value that specifies whether the server group is a system object.
공용 속성 Metadata Returns metadata about the instance and its domain. (SfcInstance에서 상속됨)
공용 속성 Name Gets the name of the server group.
공용 속성 Parent Gets the parent of the ServerGroup object.
공용 속성 Properties Returns a collection instance properties. (SfcInstance에서 상속됨)
공용 속성 RegisteredServers Represents a collection of RegisteredServers objects. Each RegisteredServers object represents a registered server.
공용 속성 ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group.
공용 속성 ServerType Gets or the type of server that is associated with the server group.
보호된 속성 State Returns the state of the SfcInstance object. (SfcInstance에서 상속됨)
공용 속성 Urn Returns the uniform resource name of the SfcInstance object. (SfcInstance에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Alter Updates any ServerGroup object property changes on the instance of SQL Server. 
공용 메서드 Create Creates a registered server on the instance of SQL Server as defined by the ServerGroup object.
보호된 메서드 CreateIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover Discovers the dependency relationship for the server group. (SfcInstance.Discover(ISfcDependencyDiscoveryObjectSink)을(를) 재정의함)
공용 메서드 Drop Drops the registered server.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Export Exports the server group to the specified file and using the specified credential persistence type.
보호된 메서드 GetChildCollection 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetDescendantRegisteredServers Returns a list of the registered servers in a server group.
공용 메서드 GetDomain 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드정적 멤버 GetObjectFactory Returns the SFC object factory for the ServerGroup object.
공용 메서드 GetPropertySet Returns the set of properties for the SfcInstance object. (SfcInstance에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Import Imports groups and servers saved to an XML file and adds them as children of the server group.
보호된 메서드 InitializeUIPropertyState 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Move Specifies the RegisteredServersServerGroup object to move in a new location.
보호된 메서드 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (SfcInstance에서 상속됨)
보호된 메서드 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (SfcInstance에서 상속됨)
공용 메서드 Refresh Refreshes the object's properties by reading them from the server. (SfcInstance에서 상속됨)
공용 메서드 Rename(String) Renames the ServerGroup object by using the specified name.
공용 메서드 Rename(SfcKey) Renames the ServerGroup object by using the specified name.
보호된 메서드 ResetKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Serialize Serializes the instance to XML. (SfcInstance에서 상속됨)
공용 메서드 ToString Returns a string representation of the instance Urn. (SfcInstance에서 상속됨)
공용 메서드 Validate Validates the ServerGroup object against the specified method and arguments.

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 DuplicateFound An event raised if a duplicate registered server group is encountered.
공용 이벤트 PropertyChanged CLS-compliant event for property changes. (SfcInstance에서 상속됨)
공용 이벤트 PropertyMetadataChanged CLS-compliant event for property metadata changes. (SfcInstance에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ISfcAlterable.ScriptAlter Alters the properties of the base object if it has been changed. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..
명시적 인터페이스 구현전용 메서드 ISfcCreatable.ScriptCreate Produces the script to create this object to storage in its current state. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..
명시적 인터페이스 구현전용 메서드 ISfcDroppable.ScriptDrop Produces the script to drop this object from storage. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..
명시적 인터페이스 구현전용 메서드 ISfcMovable.Move Moves the ServerGroup object under the specified parent object and updates the storage to reflect the move.코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..
명시적 인터페이스 구현전용 메서드 ISfcMovable.ScriptMove Produces the script to move this object under the specified parent object.코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..
명시적 인터페이스 구현전용 메서드 ISfcRenamable.ScriptRename Renames the instance of ISfcScript object identified by the key parameter. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다..

맨 위로 이동

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

Thread Safety

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

스레드 보안

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

참고 항목

참조

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