ServerGroup 類別

定義

代表註冊伺服器儲存庫中的一組伺服器。

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
Alter()

代表註冊伺服器儲存庫中的一組伺服器。

AlterImpl()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
CheckObjectCreated()

當 API 要求物件建立強度高於 CheckObjectState 時,從網域呼叫

(繼承來源 SfcInstance)
CheckObjectState()

從網域呼叫以存取物件

(繼承來源 SfcInstance)
Create()

代表註冊伺服器儲存庫中的一組伺服器。

CreateIdentityKey()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
CreateImpl()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

代表註冊伺服器儲存庫中的一組伺服器。

Drop()

代表註冊伺服器儲存庫中的一組伺服器。

DropImpl()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Export(String, CredentialPersistenceType)

將群組內容匯出成檔案。

GetChildCollection(String)

在此實例中取得給定元素名稱串的子集合。

(繼承來源 SfcInstance)
GetDescendantRegisteredServers()

一種將 ServerGroup 階層平整化並回傳完整後代註冊伺服器清單的方法。

GetDomain()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
GetObjectFactory()

代表註冊伺服器儲存庫中的一組伺服器。

GetPropertySet()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
GetTypeMetadataImpl()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Import(String)

匯入儲存在 XML 檔案中的群組與伺服器,並將其作為子檔案加入。

InitializeUIPropertyState()

可從關心初始化狀態的子物件(目前為「」的動態元資料)中覆寫。啟用」屬性)

(繼承來源 SfcInstance)
MarkForDropImpl(Boolean)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
MarkRootAsConnected()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Move(ServerGroup)

將 ServerGroup 移為另一個 ServerGroup 的子節點。

MoveImpl(SfcInstance)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
PostAlter(Object)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
PostCreate(Object)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
PostDrop(Object)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
PostMove(Object)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
PostRename(Object)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Refresh()

透過從伺服器讀取物件屬性來刷新物件屬性

(繼承來源 SfcInstance)
Rename(SfcKey)

重新命名伺服器上的物件。

Rename(String)

重新命名伺服器上的物件。

RenameImpl(SfcKey)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
ResetKey()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Serialize(XmlWriter)

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
ToString()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
UpdateUIPropertyState()

代表註冊伺服器儲存庫中的一組伺服器。

(繼承來源 SfcInstance)
Validate()

基本子物件驗證

(繼承來源 SfcInstance)
Validate(String, Object[])

代表註冊伺服器儲存庫中的一組伺服器。

事件

名稱 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)

代表註冊伺服器儲存庫中的一組伺服器。

適用於