다음을 통해 공유


ManagedInstances 속성

Gets a collection containing each instance of SQL Server managed by this Utility.

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

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ManagedInstance))> _
Public ReadOnly Property ManagedInstances As ManagedInstanceCollection
    Get
‘사용 방법
Dim instance As Utility
Dim value As ManagedInstanceCollection

value = instance.ManagedInstances
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ManagedInstance))]
public ManagedInstanceCollection ManagedInstances { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ManagedInstance))]
public:
property ManagedInstanceCollection^ ManagedInstances {
    ManagedInstanceCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ManagedInstance))>]
member ManagedInstances : ManagedInstanceCollection
function get ManagedInstances () : ManagedInstanceCollection

속성 값

유형: Microsoft.SqlServer.Management.Utility. . :: . .ManagedInstanceCollection
A ManagedInstanceCollection that contains all of the instances of SQL Server managed by this Utility.