ServerGroup Members

The ServerGroup object represents a group of Microsoft SQL Server registered servers.

The following tables list the members exposed by the ServerGroup type.

Public Constructors

  名稱 Description
ServerGroup Overloaded. Initializes a new instance of the ServerGroup object.

頂端

Public Properties

(see also Protected Properties )

  名稱 Description
ms220136.pubproperty(zh-tw,SQL.90).gif Description Gets or sets the textual description of the referenced group of registered servers.
ms220136.pubproperty(zh-tw,SQL.90).gif Name  Gets or sets the name of the object. (inherited from RegSvrSmoObject)
ms220136.pubproperty(zh-tw,SQL.90).gif Parent Gets or sets the ServerGroup object that is the parent of the referenced ServerGroup object.
ms220136.pubproperty(zh-tw,SQL.90).gif Path Gets the path of the referenced server group.
ms220136.pubproperty(zh-tw,SQL.90).gif Properties  Gets the properties associated with the object. (inherited from RegSvrSmoObject)
ms220136.pubproperty(zh-tw,SQL.90).gif RegisteredServers  Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. (inherited from ServerGroupBase)
ms220136.pubproperty(zh-tw,SQL.90).gif ServerGroups  Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. (inherited from ServerGroupBase)
ms220136.pubproperty(zh-tw,SQL.90).gif ServerType Gets the Guid object value that specifies the type of server associated with the server group.
ms220136.pubproperty(zh-tw,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220136.pubproperty(zh-tw,SQL.90).gif Urn Overridden. Gets the Urn object value that represents the server group.
ms220136.pubproperty(zh-tw,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

頂端

Protected Properties

  名稱 Description
ms220136.protproperty(zh-tw,SQL.90).gif UrnSkeleton  Gets the Urn object that represents the object. (inherited from RegSvrSmoObject)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220136.pubmethod(zh-tw,SQL.90).gif Alter  Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. (inherited from ServerGroupBase)
ms220136.pubmethod(zh-tw,SQL.90).gif Create  Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. (inherited from ServerGroupBase)
ms220136.pubmethod(zh-tw,SQL.90).gif Drop  Removes the ServerGroupBase from the parent server group. (inherited from ServerGroupBase)
ms220136.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220136.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms220136.pubmethod(zh-tw,SQL.90).gif GetSmoObject  (inherited from ServerGroupBase )
ms220136.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220136.pubmethod(zh-tw,SQL.90).gif Initialize  (inherited from RegSvrSmoObject )
ms220136.pubmethod(zh-tw,SQL.90).gifms220136.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220136.pubmethod(zh-tw,SQL.90).gif Refresh  (inherited from RegSvrSmoObject )
ms220136.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms220136.protmethod(zh-tw,SQL.90).gif CheckObjectState  (inherited from RegSvrSmoObject )
ms220136.protmethod(zh-tw,SQL.90).gif ClearCollections  Clears the server group collections. (inherited from ServerGroupBase)
ms220136.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms220136.protmethod(zh-tw,SQL.90).gif ImplInitialize  (inherited from RegSvrSmoObject )
ms220136.protmethod(zh-tw,SQL.90).gif IsObjectInitialized  (inherited from RegSvrSmoObject )
ms220136.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220136.protmethod(zh-tw,SQL.90).gif SetParentImpl  (inherited from RegSvrSmoObject )
ms220136.protmethod(zh-tw,SQL.90).gifms220136.static(zh-tw,SQL.90).gif Trace  (inherited from RegSvrSmoObject )
ms220136.protmethod(zh-tw,SQL.90).gif UpdateObjectState  (inherited from RegSvrSmoObject )

頂端

請參閱

參考

ServerGroup Class
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

其他資源

管理已註冊的伺服器
sp_ActiveDirectory_SCP (Transact-SQL)