The ServerGroupBase class is a base class that is used in the construction of the ServerGroup class, which 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 中)
語法
'宣告
Public Class ServerGroupBase _
Inherits RegSvrSmoObject _
Implements ICreatable, IAlterable, IDroppable
'用途
Dim instance As ServerGroupBase
public class ServerGroupBase : RegSvrSmoObject,
ICreatable, IAlterable, IDroppable
public ref class ServerGroupBase : public RegSvrSmoObject,
ICreatable, IAlterable, IDroppable
type ServerGroupBase =
class
inherit RegSvrSmoObject
interface ICreatable
interface IAlterable
interface IDroppable
end
public class ServerGroupBase extends RegSvrSmoObject implements ICreatable, IAlterable, IDroppable
ServerGroupBase 型別公開下列成員。
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
Name | Gets or sets the name of the object. (繼承自 RegSvrSmoObject。) |
![]() |
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. |
![]() |
ServerGroups | Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. |
![]() |
State | Gets the state of the referenced object. (繼承自 SmoObjectBase。) |
![]() |
Urn | Gets the Urn object that represents the object. (繼承自 RegSvrSmoObject。) |
![]() |
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. |
![]() |
CheckObjectState | Checks the state of the object. (繼承自 RegSvrSmoObject。) |
![]() |
ClearCollections | Clears the server group collections. |
![]() |
Create | Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. |
![]() |
Drop | Removes the ServerGroupBase from the parent server group. |
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. |
![]() |
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。) |
上層
備註
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間
.gif)
.gif)
.gif)
.gif)