ServerGroupBase 类
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 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。