ServerGroup 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表註冊伺服器儲存庫中的一組伺服器。
public sealed class ServerGroup : Microsoft.SqlServer.Management.RegisteredServers.ServerGroupParent, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable, Microsoft.SqlServer.Management.Common.IRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCreatable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcMovable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcValidate
type ServerGroup = class
inherit ServerGroupParent
interface ISfcValidate
interface ISfcCreatable
interface ICreatable
interface ISfcAlterable
interface IAlterable
interface ISfcDroppable
interface IDroppable
interface ISfcRenamable
interface IRenamable
interface ISfcMovable
Public NotInheritable Class ServerGroup
Inherits ServerGroupParent
Implements IAlterable, ICreatable, IDroppable, IRenamable, ISfcAlterable, ISfcCreatable, ISfcDroppable, ISfcMovable, ISfcRenamable, ISfcValidate
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| ServerGroup() |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ServerGroup(ServerGroup, String) |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ServerGroup(String) |
代表註冊伺服器儲存庫中的一組伺服器。 |
屬性
| 名稱 | Description |
|---|---|
| AbstractIdentityKey |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| Description |
代表註冊伺服器儲存庫中的一組伺服器。 |
| DisplayName |
團體的名稱 |
| ID |
代表註冊伺服器儲存庫中的一組伺服器。 |
| IdentityKey |
代表註冊伺服器儲存庫中的一組伺服器。 |
| IsDropped |
如果SFC認為這是掉落物,則會退回。 |
| IsLocal |
回傳該實例所關聯的 RegisteredServersStore 的 IsLocal 屬性。 |
| IsSystemServerGroup |
如果該伺服器群組是標準伺服器群組之一,則會回傳為真。 |
| KeyChain |
回傳物件的身份路徑 (繼承來源 SfcInstance) |
| Metadata |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| Name |
代表註冊伺服器儲存庫中的一組伺服器。 |
| Parent |
代表註冊伺服器儲存庫中的一組伺服器。 |
| Properties |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| PropertyStorageProvider |
此屬性會回傳 ISfcPropertyStorageProvider 介面的預設 SFC 實作,子類別可覆寫以回傳另一個儲存提供者(即平面屬性清單) (繼承來源 SfcInstance) |
| RegisteredServers |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ServerGroups |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ServerType |
代表註冊伺服器儲存庫中的一組伺服器。 |
| State |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| Urn |
在每個請求建立新的 Urn 字串並回傳。 (繼承來源 SfcInstance) |
方法
事件
| 名稱 | Description |
|---|---|
| DuplicateFound |
當使用者嘗試匯入已存在於本地商店的註冊伺服器或伺服器群組時,會觸發的事件 |
| propertyChanged |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| PropertyChanged |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| propertyMetadataChanged |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
| PropertyMetadataChanged |
代表註冊伺服器儲存庫中的一組伺服器。 (繼承來源 SfcInstance) |
明確介面實作
| 名稱 | Description |
|---|---|
| ISfcAlterable.ScriptAlter() |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ISfcCreatable.ScriptCreate() |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ISfcDroppable.ScriptDrop() |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ISfcMovable.Move(SfcInstance) |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ISfcMovable.ScriptMove(SfcInstance) |
代表註冊伺服器儲存庫中的一組伺服器。 |
| ISfcRenamable.ScriptRename(SfcKey) |
代表註冊伺服器儲存庫中的一組伺服器。 |