RegisteredServer 클래스

Represents a registered 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에서 상속됨)
공용 속성 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. 
공용 메서드 Create Creates a registered server on the instance of SQL Server as defined by the RegisteredServer object.
보호된 메서드 CreateIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Drop Drops the registered server.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Export Exports the registered server to the specified file and using the given credential persistence type.
보호된 메서드 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에서 상속됨)
공용 메서드 Move Specifies the RegisteredServer to move in a new location.
보호된 메서드 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에서 상속됨)
공용 메서드 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.
보호된 메서드 ResetKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Serialize Serializes the instance to XML. (SfcInstance에서 상속됨)
공용 메서드 ToString Returns a string representation of the instance Urn. (SfcInstance에서 상속됨)
공용 메서드 Validate Validates the RegisteredServer object against the specified method and arguments.

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 PropertyChanged CLS-compliant event for property changes. (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

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.RegisteredServers 네임스페이스