Класс RegisteredServer
Represents a SQL Serverregistered server.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServer
Пространство имен: Microsoft.SqlServer.Management.RegisteredServers
Сборка: Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)
Синтаксис
'Декларация
Public NotInheritable Class RegisteredServer _
Inherits SfcInstance _
Implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, _
IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, _
ISfcMovable
'Применение
Dim instance As RegisteredServer
public sealed class RegisteredServer : SfcInstance,
ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable,
ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
public ref class RegisteredServer sealed : public SfcInstance,
ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable,
ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
[<SealedAttribute>]
type RegisteredServer =
class
inherit SfcInstance
interface ISfcValidate
interface ISfcCreatable
interface ICreatable
interface ISfcAlterable
interface IAlterable
interface ISfcDroppable
interface IDroppable
interface ISfcRenamable
interface IRenamable
interface ISfcMovable
end
public final class RegisteredServer extends SfcInstance implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
Тип RegisteredServer обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
RegisteredServer() () () () | Initializes a new instance of the RegisteredServer class with the default property values. |
![]() |
RegisteredServer(String) | Initializes a new instance of the RegisteredServer class that has the specified name. |
![]() |
RegisteredServer(ServerGroup, String) | Initializes a new instance of the RegisteredServer class with the specified name and server. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
AbstractIdentityKey | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
ConnectionString | Gets or sets the connection string that is used to connect to the instance of SQL Server. |
![]() |
ConnectionStringWithEncryptedPassword | Gets the connection string that is used to connect to the instance of SQL Server that has the encrypted password. |
![]() |
CredentialPersistenceType | Gets or sets how the logins and passwords are persisted on the registered server. |
![]() |
CustomConnectionColorArgb | Gets or sets the specified ARGB color of the RegisteredServer object. |
![]() |
Description | Gets the name of the registered server. |
![]() |
ID | Gets the ID value that uniquely identifies the registered server. |
![]() |
IdentityKey | Gets the key value that uniquely identifies the registered server. |
![]() |
IsDropped | Gets the Boolean value that specifies whether the registered server has been dropped or not. |
![]() |
IsLocal | Gets the Boolean value that specifies whether the registered server is local or not. |
![]() |
Metadata | Returns metadata about the instance and its domain. (Производный от SfcInstance.) |
![]() |
Name | Gets the name of the RegisteredServer object. |
![]() |
Parent | Gets the parent of the RegisteredServer object. |
![]() |
Properties | Returns a collection instance properties. (Производный от SfcInstance.) |
![]() |
PropertyStorageProvider | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
SecureConnectionString | Gets or sets the secure string that is used to connect to the instance of SQL Server. |
![]() |
ServerName | Gets or sets the name of the server that is associated with the registered server. |
![]() |
ServerType | Gets or the kind of server that is associated with the registered server. |
![]() |
State | Returns the state of the SfcInstance object. (Производный от SfcInstance.) |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (Производный от SfcInstance.) |
![]() |
UseCustomConnectionColor | Gets or sets a value indicating whether the object uses a custom connection color. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Alter | Updates any RegisteredServer object property changes on the instance of SQL Server. |
![]() |
AlterImpl | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
CheckObjectCreated | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
CheckObjectState | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Create | Creates a registered server on the instance of SQL Server as defined by the RegisteredServer object. |
![]() |
CreateIdentityKey | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
CreateImpl | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Discover | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Drop | Drops the registered server. |
![]() |
DropImpl | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Equals | (Производный от Object.) |
![]() |
Export | Exports the registered server to the specified file and using the given credential persistence type. |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetChildCollection | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
GetConnectionObject | Returns the SFC interface object that represents the connection to the instance of SQL Server. |
![]() |
GetDomain | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() ![]() |
GetObjectFactory | Returns the SFC object factory for the RegisteredServer object. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Производный от SfcInstance.) |
![]() |
GetType | (Производный от Object.) |
![]() |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
InitializeUIPropertyState | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
MarkRootAsConnected | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
Move | Specifies the RegisteredServer to move in a new location. |
![]() |
MoveImpl | Indicates the new parent object to move in an instance. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Производный от SfcInstance.) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Производный от SfcInstance.) |
![]() |
PostAlter | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PostCreate | Indicates the default implementor that creates the execution result. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PostDrop | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PostMove | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PostRename | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (Производный от SfcInstance.) |
![]() |
Rename(String) | Renames the RegisteredServer object by using the specified name. |
![]() |
Rename(SfcKey) | Specifies the RegisteredServer object to rename. |
![]() |
RenameImpl | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
ResetKey | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Serialize | Serializes the instance to XML. (Производный от SfcInstance.) |
![]() |
ToString | Returns a string representation of the instance Urn. (Производный от SfcInstance.) |
![]() |
UpdateUIPropertyState | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Validate() () () () | Indicates the basic child object's validation. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
Validate(String, array<Object> [] () [] []) | Validates the RegisteredServer object against the specified method and arguments. |
В начало
События
| Имя | Описание | |
|---|---|---|
![]() |
propertyChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (Производный от SfcInstance.) |
![]() |
propertyMetadataChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcInstance.) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Производный от SfcInstance.) |
В начало
Явные реализации интерфейса
| Имя | Описание | |
|---|---|---|
![]() ![]() |
ISfcAlterable. . :: . .ScriptAlter | Alters the properties of the base object if it has been changed. This class cannot be inherited. |
![]() ![]() |
ISfcCreatable. . :: . .ScriptCreate | Produces the script to create this object to storage in its current state. This class cannot be inherited. |
![]() ![]() |
ISfcDroppable. . :: . .ScriptDrop | Produces the script to drop this object from storage. This class cannot be inherited. |
![]() ![]() |
ISfcMovable. . :: . .Move | Moves this object under the specified parent object and updates the storage to reflect the move. This class cannot be inherited. |
![]() ![]() |
ISfcMovable. . :: . .ScriptMove | Produces the script to move this object under the specified parent object. This class cannot be inherited. |
![]() ![]() |
ISfcRenamable. . :: . .ScriptRename | Renames the instance of ISfcScript identified by the key parameter. This class cannot be inherited. |
В начало
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)