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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.