Aracılığıyla paylaş


RegisteredServersStore Class

Definition

public sealed class RegisteredServersStore : Microsoft.SqlServer.Management.RegisteredServers.ServerGroupParent, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain
type RegisteredServersStore = class
    inherit ServerGroupParent
    interface ISfcDomain
    interface ISfcDomainLite
    interface ISfcHasConnection
Public NotInheritable Class RegisteredServersStore
Inherits ServerGroupParent
Implements ISfcDomain
Inheritance
RegisteredServersStore
Implements

Constructors

RegisteredServersStore()

This constructor is purely a place holder to allow the serialize to construct this object and set other properties on it. This constructor will not be used for directly connecting to the local store. Instead we will use a static method to initialize the store from the XML file.

RegisteredServersStore(ServerConnection)

This constructor is used for a Store that represents storage in a SQL server instead of a file.

Fields

ExceptionDelegates

Delegate member to hold the list of delegate handlers

Properties

AbstractIdentityKey (Inherited from SfcInstance)
AnalysisServicesServerGroup
AnalysisServicesServerGroupName
AzureDataStudioConnectionStore

Contains the set of connections and groups stored in the user's Azure Data Studio settings

CentralManagementServerGroup
CentralManagementServerGroupName
CentralManagementServersDisplayName

The localized name of the shared server store

DatabaseEngineServerGroup
DatabaseEngineServerGroupName
DisplayName

Display name for this store

DomainInstanceName
DomainName
IntegrationServicesServerGroup
IntegrationServicesServerGroupName
IsLocal
KeyChain

Returns the identity path of the object

(Inherited from SfcInstance)
LocalFileStore

This static property returns a Singleton instance representing the local file storage.

LocalServerStoreDisplayName

The localized name of the local server store

Metadata (Inherited from SfcInstance)
Parent

Parent is not something that is kept local, it is implied from the keychain The concept of a parent is really about the hiearchy up and under the root if we only do this via parents then we will not be able to instantiate objects with only lightweight SfcKeyChain sets

Setting the parent is therefor a helper operation to set a keychain

(Inherited from SfcInstance)
Properties (Inherited from SfcInstance)
PropertyStorageProvider

This property returns the default implementation of SFC for ISfcPropertyStorageProvider interface, it can be overriden in the child classes to return another storage provider (i.e. flat properties list)

(Inherited from SfcInstance)
ReportingServicesServerGroup
ReportingServicesServerGroupName
ServerConnection
ServerGroups
SqlServerCompactEditionServerGroup
SqlServerCompactEditionServerGroupName
State (Inherited from SfcInstance)
Urn

Create a new Urn string on each request and return it.

(Inherited from SfcInstance)

Methods

AlterImpl() (Inherited from SfcInstance)
CheckObjectCreated()

To be called from domain for when an API requires the object to be Created Stronger than CheckObjectState

(Inherited from SfcInstance)
CheckObjectState()

To be called from domain for any access to the object

(Inherited from SfcInstance)
CreateIdentityKey() (Inherited from SfcInstance)
CreateImpl() (Inherited from SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)
DropImpl() (Inherited from SfcInstance)
GetChildCollection(String)

Get the child collection in this instance for the given element name string.

(Inherited from SfcInstance)
GetDomain() (Inherited from SfcInstance)
GetExecutionEngine()
GetKey(IUrnFragment)
GetPropertySet() (Inherited from SfcInstance)
GetType(String)
GetTypeMetadata(String)
GetTypeMetadataImpl() (Inherited from SfcInstance)
InitializeUIPropertyState()

Overridable from the child objects who care about initializing their states (dynamic metadata which is currently the ".Enabled" property)

(Inherited from SfcInstance)
MarkForDropImpl(Boolean) (Inherited from SfcInstance)
MarkRootAsConnected() (Inherited from SfcInstance)
MoveImpl(SfcInstance) (Inherited from SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) (Inherited from SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs) (Inherited from SfcInstance)
PostAlter(Object) (Inherited from SfcInstance)
PostCreate(Object) (Inherited from SfcInstance)
PostDrop(Object) (Inherited from SfcInstance)
PostMove(Object) (Inherited from SfcInstance)
PostRename(Object) (Inherited from SfcInstance)
Refresh()

refreshes the object's properties by reading them from the server

(Inherited from SfcInstance)
ReloadLocalFileStore()

Discard the current local file store and reload it from disk

RenameImpl(SfcKey) (Inherited from SfcInstance)
ResetKey() (Inherited from SfcInstance)
Serialize(XmlWriter) (Inherited from SfcInstance)
ToString() (Inherited from SfcInstance)
UpdateUIPropertyState() (Inherited from SfcInstance)
UpgradeFromSqlServer2005(String)

Merges the content of the downlevel store into the local store.

UseSfcStateManagement()
Validate()

Basic child object's validation

(Inherited from SfcInstance)

Events

LocalFileStoreReloaded

Event that is raised after the local file store is refreshed. When this event is raised, clients need to release their references to the store and reinitialize their UI for the new local file store.

propertyChanged (Inherited from SfcInstance)
PropertyChanged (Inherited from SfcInstance)
propertyMetadataChanged (Inherited from SfcInstance)
PropertyMetadataChanged (Inherited from SfcInstance)

Explicit Interface Implementations

ISfcDomainLite.GetLogicalVersion()

Returns the logical version of the domain

ISfcHasConnection.ConnectionContext
ISfcHasConnection.GetConnection()
ISfcHasConnection.GetConnection(SfcObjectQueryMode)
ISfcHasConnection.SetConnection(ISfcConnection)

Sets the active connection.

Applies to