Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Nota: questa API è obsoleta.
The ServerGroup object represents a group of Microsoft SQL Server registered servers.
Gerarchia di ereditarietà
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
Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public NotInheritable Class ServerGroup _
Inherits ServerGroupBase
'Utilizzo
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
Nel tipo ServerGroup sono esposti i membri seguenti.
Costruttori
| Nome | Descrizione | |
|---|---|---|
![]() |
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. |
In alto
Proprietà
| Nome | Descrizione | |
|---|---|---|
![]() |
Description | Gets or sets the textual description of the referenced group of registered servers. |
![]() |
Name | Gets or sets the name of the object. Ereditato da 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. Ereditato da RegSvrSmoObject. |
![]() |
RegisteredServers | Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. Ereditato da ServerGroupBase. |
![]() |
ServerGroups | Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. Ereditato da 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. Ereditato da SmoObjectBase. |
![]() |
Urn | Gets the Urn object value that represents the server group. Esegue l'override di RegSvrSmoObject.Urn. |
![]() |
UrnSkeleton | Gets the Urn object that represents the object. Ereditato da RegSvrSmoObject. |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. Ereditato da SmoObjectBase. |
In alto
Metodi
| Nome | Descrizione | |
|---|---|---|
![]() |
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. Ereditato da ServerGroupBase. |
![]() |
ClearCollections | Clears the server group collections. Ereditato da ServerGroupBase. |
![]() |
Create | Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. Ereditato da ServerGroupBase. |
![]() |
Drop | Removes the ServerGroupBase from the parent server group. Ereditato da ServerGroupBase. |
![]() |
Equals | Ereditato da Object. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. Ereditato da ServerGroupBase. |
![]() |
GetType | Ereditato da Object. |
![]() |
Initialize | Initializes the object. Ereditato da RegSvrSmoObject. |
![]() |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. Ereditato da RegSvrSmoObject. |
![]() |
Refresh | Refreshes the properties of the object. Ereditato da RegSvrSmoObject. |
![]() |
SetParentImpl | Sets a parent. Ereditato da RegSvrSmoObject. |
![]() |
ToString | Ereditato da Object. |
![]() |
Validate | Validates the state of an object. Ereditato da SmoObjectBase. |
In alto
Osservazioni
To get or set ServerGroup object properties, users must be a member of the sysadmin fixed server role.
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegisteredServers
.gif)
.gif)
.gif)
.gif)