ServerGroup 클래스
참고: 이 API는 더 이상 사용되지 않습니다.
ServerGroup 개체는 Microsoft SQL Server 등록된 서버의 그룹을 나타냅니다.
상속 계층
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() () () () | 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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.