مشاركة عبر


RegisteredServersStore Class

The RegisteredServerStore class represents a registered server store.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.RegisteredServers.ServerGroupParent
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public NotInheritable Class RegisteredServersStore _
    Inherits ServerGroupParent _
    Implements ISfcDomain, ISfcDomainLite, ISfcHasConnection
'Usage
Dim instance As RegisteredServersStore
public sealed class RegisteredServersStore : ServerGroupParent, 
    ISfcDomain, ISfcDomainLite, ISfcHasConnection
public ref class RegisteredServersStore sealed : public ServerGroupParent, 
    ISfcDomain, ISfcDomainLite, ISfcHasConnection
[<SealedAttribute>]
type RegisteredServersStore =  
    class 
        inherit ServerGroupParent 
        interface ISfcDomain 
        interface ISfcDomainLite 
        interface ISfcHasConnection 
    end
public final class RegisteredServersStore extends ServerGroupParent implements ISfcDomain, ISfcDomainLite, ISfcHasConnection

The RegisteredServersStore type exposes the following members.

Constructors

  Name Description
Public method RegisteredServersStore() Initializes a new instance of the InvalidSqlServer2005StoreFormatException class.
Public method RegisteredServersStore(ServerConnection) Initializes a new instance of the InvalidSqlServer2005StoreFormatException class that has the specified shared registered servers connection.

Top

Properties

  Name Description
Protected property AbstractIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public property AnalysisServicesServerGroup Gets an object that represents an Analysis Services server group.
Public property AnalysisServicesServerGroupName Gets the name of an Analysis Services server group.
Public property CentralManagementServerGroup Gets an object that represents a central management server group.
Public property CentralManagementServerGroupName Gets the name of the central management server group.
Public propertyStatic member CentralManagementServersDisplayName Gets the display name of the central management server group.
Public property DatabaseEngineServerGroup Gets a Database Engine server group.
Public property DatabaseEngineServerGroupName Gets a string value that contains the name of the Database Engine server group.
Public property DisplayName Gets the display name of the registered servers store.
Public property DomainInstanceName Gets a string value that contains the domain instance name.
Public property DomainName Gets the name of a domain.
Public property IntegrationServicesServerGroup A ServerGroup object that specifies the Integration Services server group.
Public property IntegrationServicesServerGroupName Gets the name of an Integration Services server group.
Public property IsLocal Gets a Boolean value that indicates whether the registered server is local.
Public propertyStatic member LocalFileStore Gets the local file store location.
Public propertyStatic member LocalServerStoreDisplayName Gets the display name of the local server store.
Public property Metadata Returns metadata about the instance and its domain. (Inherited from SfcInstance.)
Public property Parent Gets or sets the instance parent via the keychain. (Inherited from SfcInstance.)
Public property Properties Returns a collection instance properties. (Inherited from SfcInstance.)
Public property ReportingServicesServerGroup Gets an object that represents a Reporting Services server group
Public property ReportingServicesServerGroupName Gets a string value that contains the name of the Reporting Services server group.
Public property ServerConnection Gets a connection to an instance of the Database Engine.
Public property ServerGroups Represents a collection of ServerGroup objects. Each RegisteredServer object represents a server group on the registered server store.
Public property SqlServerCompactEditionServerGroup Gets an object representing a SQL Server Compact Edition server group.
Public property SqlServerCompactEditionServerGroupName Gets the name of a SQL Server Compact Edition server group.
Protected property State Returns the state of the SfcInstance object. (Inherited from SfcInstance.)
Public property Urn Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.)

Top

Methods

  Name Description
Protected method CreateIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Discover Discovers dependencies on objects in the dependency sink. (Overrides SfcInstance.Discover(ISfcDependencyDiscoveryObjectSink).)
Public method Equals (Inherited from Object.)
Protected method GetChildCollection Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetDomain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetExecutionEngine Gets an execution engine object.
Public method GetHashCode (Inherited from Object.)
Public method GetKey Gets the key associated with the Unique Resource Name (URN) fragment.
Public method GetPropertySet Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.)
Public method GetType() (Inherited from Object.)
Public method GetType(String) Gets the type given the specified type name.
Public method GetTypeMetadata Gets the metadata of the type that has the specified type name.
Protected method GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method InitializeUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)
Public method Refresh Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.)
Public methodStatic member ReloadLocalFileStore Reloads the file store for the Registered Server store.
Protected method ResetKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Serialize Serializes the instance to XML. (Inherited from SfcInstance.)
Public method ToString Returns a string representation of the instance Urn. (Inherited from SfcInstance.)
Public method UpgradeFromSqlServer2005 Upgrades the Registered Server store from SQL Server 2005.
Public method UseSfcStateManagement Determines whether the SFC state management is enabled on the Registered Server store.

Top

Events

  Name Description
Public eventStatic member LocalFileStoreReloaded An event that indicates the local file store has been reloaded.
Public event PropertyChanged CLS-compliant event for property changes. (Inherited from SfcInstance.)
Public event PropertyMetadataChanged CLS-compliant event for property metadata changes. (Inherited from SfcInstance.)

Top

Fields

  Name Description
Public fieldStatic member ExceptionDelegates Represents the delegate that is used to throw a registered servers store exception.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcDomainLite.GetLogicalVersion Gets the logical version number of a domain.
Explicit interface implemetationPrivate property ISfcHasConnection.ConnectionContext Gets the details of a connection to an instance of the database engine.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection() Gets a connection of the ISfcConnection object. This class cannot be inherited.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection(SfcObjectQueryMode) Gets a connection of the given SfcObjectQueryModeparameter. This class cannot be inherited.
Explicit interface implemetationPrivate method ISfcHasConnection.SetConnection Sets a connection. This class cannot be inherited.

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.RegisteredServers Namespace