ManagedInstance 클래스

The ManagedInstance type represents an instance of SQL Server that is managed by the SQL Server Utility services to control policy, and deployments.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.Utility.ManagedInstance

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
Public Class ManagedInstance _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable
‘사용 방법
Dim instance As ManagedInstance
public class ManagedInstance : SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable
public ref class ManagedInstance : public SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable
type ManagedInstance =  
    class 
        inherit SfcInstance 
        interface ISfcCreatable 
        interface ICreatable 
        interface ISfcDroppable 
        interface IDroppable 
    end
public class ManagedInstance extends SfcInstance implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable

ManagedInstance 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ManagedInstance Initializes a new instance of the ManagedInstance class.

맨 위로 이동

속성

  이름 설명
보호된 속성 AbstractIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 속성 AgentProxyAccount Gets the SQL Server Agent proxy account used to run scheduled jobs on the instance of SQL Server.
공용 속성 BackupDirectory Gets the backup directory for the server instance.
공용 속성 CacheDirectory Gets the cache directory where temporary files can be stored during deployment onto the instance of SQL Server.
공용 속성 Collation Gets the collation for the server instance.
공용 속성 ComputerNamePhysicalNetBIOS Gives the physical NetBIOS for the server instance.
공용 속성 ComputerProcessorHealthState Gets the computer processor health state.
공용 속성 ContainsOverUtilizedDatabases Gets a value that indicates whether the server instance contains an over utilized databases.
공용 속성 ContainsOverUtilizedVolumes Gets a value that indicates whether the server instance contains an over utilized volumes.
공용 속성 ContainsUnderUtilizedDatabases Gets a value that indicates whether the server instance contains an under utilized databases.
공용 속성 ContainsUnderUtilizedVolumes Gets a value that indicates whether the server instance contains an under utilized volumes.
공용 속성 CpuMaxClockSpeed Gets the maximum clock speed of the CPU.
공용 속성 CpuName Gets the name of the CPU.
공용 속성 DateCreated Gets the time and date when the ManagedInstance object was created.
공용 속성 Edition Gets the edition of the instance of SQL Server.
공용 속성 EngineEdition Gets the engine edition for the instance of SQL Server.
공용 속성 FileSpaceHealthState Gets the file space health state.
공용 속성 ID Gets ID value that uniquely identifies the managed instance of SQL Server.
공용 속성 IdentityKey Gets the key value that identifies the managed instance.
공용 속성 InstanceName Gets the name of the instance of SQL Server.
공용 속성 IsCaseSensitive Gets a value that indicates whether the server instance is case-sensitive.
공용 속성 IsClustered Gets a value that indicates whether the server instance is part of a clustered server.
공용 속성 IsPolicyOverridden Gets a value that indicates whether any of the server instance policies have been overridden.
공용 속성 Language Gets the language used by the managed instance of SQL Server.
공용 속성 LastReportedTime Gets the latest reported time for the properties of the server instance object.
공용 속성 ManagementState Gets the current state of instance of SQL Server with regard to being managed by the SQL Server Utility service.
공용 속성 Metadata Returns metadata about the instance and its domain. (SfcInstance에서 상속됨)
공용 속성 Name Gets or sets the name of the managed instance.
공용 속성 NetName Gets the NetBIOS name of the network on which the server instance is running.
공용 속성 OSVersion Gets the operating system version of the managed instance of SQL Server.
공용 속성 Parent Gets or sets the Utility object that is the parent of the ManagedInstance object.
공용 속성 PhysicalMemory Gets the physical memory of the managed instance of SQL Server.
공용 속성 Processors Gets the number of processors for the managed instance of SQL Server.
공용 속성 ProductLevel Gets the product level of the server instance.
공용 속성 Properties Returns a collection instance properties. (SfcInstance에서 상속됨)
보호된 속성 PropertyStorageProvider 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 속성 ServerProcessorHealthState Gets the server instance processor health state.
공용 속성 ServerType Gets the type of the server instance.
공용 속성 ServerUrn Gets the uniform resource name (URN) of the server instance.
보호된 속성 State Returns the state of the SfcInstance object. (SfcInstance에서 상속됨)
공용 속성 Urn Returns the uniform resource name of the SfcInstance object. (SfcInstance에서 상속됨)
공용 속성 Version Specifies the version of the server instance.
공용 속성 VolumeSpaceHealthState Gets the volume space health state.

맨 위로 이동

메서드

  이름 설명
보호된 메서드 AlterImpl 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 CheckObjectCreated 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 CheckObjectState 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 CreateIdentityKey Creates an SfcKey object. (SfcInstance.CreateIdentityKey()을(를) 재정의함)
보호된 메서드 CreateImpl 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
보호된 메서드 DropImpl 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 GetChildCollection Throws a UtilityException. There is no such collection. (SfcInstance.GetChildCollection(String)을(를) 재정의함)
공용 메서드 GetDomain 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드정적 멤버 GetObjectFactory Gets the factory object used to create new instances.
공용 메서드 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에서 상속됨)
보호된 메서드 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 Sets the ID property of the base type to the execution result. (SfcInstance.PostCreate(Object)을(를) 재정의함)
보호된 메서드 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에서 상속됨)
공용 메서드 Remove Gets the parent SqlStoreConnection object.
보호된 메서드 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에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
보호된 이벤트 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에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICreatable.Create Tests whether the state is managed and creates a server and connection if in the managed state.
명시적 인터페이스 구현전용 메서드 IDroppable.Drop Tests whether state is managed and drops the instance if it is managed.
명시적 인터페이스 구현전용 메서드 ISfcCreatable.ScriptCreate Creates an ISfcScript object.
명시적 인터페이스 구현전용 메서드 ISfcDroppable.ScriptDrop Drops an ISfcScript object.

맨 위로 이동

주의

The Managed instance object represents an instance of SQL Server that is included in the group of computers managed by SQL Server Utility services. Using the ManagedObject object, you can:

  • Determine the agent proxy account that runs scheduled jobs on the instance of SQL Server.

  • Determine the cache directory where temporary files are stored during a deployment.

  • Determine the management state of the instance of SQL Server.

  • Stop managing the instance of SQL Server and remove it from the SQL Server Utility.

스레드 보안

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

참고 항목

참조

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