Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Hinweis: Diese API ist veraltet.
The ServerGroup object represents a group of Microsoft SQL Server registered servers.
Vererbungshierarchie
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
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public NotInheritable Class ServerGroup _
Inherits ServerGroupBase
'Usage
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
Der ServerGroup-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
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. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
Description | Gets or sets the textual description of the referenced group of registered servers. |
![]() |
Name | Gets or sets the name of the object. (Geerbt von 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. (Geerbt von RegSvrSmoObject.) |
![]() |
RegisteredServers | Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. (Geerbt von ServerGroupBase.) |
![]() |
ServerGroups | Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. (Geerbt von 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. (Geerbt von SmoObjectBase.) |
![]() |
Urn | Gets the Urn object value that represents the server group. (Überschreibt RegSvrSmoObject.Urn.) |
![]() |
UrnSkeleton | Gets the Urn object that represents the object. (Geerbt von RegSvrSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. (Geerbt von ServerGroupBase.) |
![]() |
ClearCollections | Clears the server group collections. (Geerbt von ServerGroupBase.) |
![]() |
Create | Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. (Geerbt von ServerGroupBase.) |
![]() |
Drop | Removes the ServerGroupBase from the parent server group. (Geerbt von ServerGroupBase.) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. (Geerbt von ServerGroupBase.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
Initialize | Initializes the object. (Geerbt von RegSvrSmoObject.) |
![]() |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. (Geerbt von RegSvrSmoObject.) |
![]() |
Refresh | Refreshes the properties of the object. (Geerbt von RegSvrSmoObject.) |
![]() |
SetParentImpl | Sets a parent. (Geerbt von RegSvrSmoObject.) |
![]() |
ToString | (Geerbt von Object.) |
![]() |
Validate | Validates the state of an object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Hinweise
To get or set ServerGroup object properties, users must be a member of the sysadmin fixed server role.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.RegisteredServers-Namespace
.gif)
.gif)
.gif)
.gif)