Partager via


DacDomain.DacInstances Property

Gets a DacInstanceCollection object that enumerates the DAC instances deployed or registered on an instance of the Database Engine.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(DacInstance))> _
Public ReadOnly Property DacInstances As DacInstanceCollection
    Get
'Utilisation
Dim instance As DacDomain
Dim value As DacInstanceCollection

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

Property Value

Type: Microsoft.SqlServer.Management.Dac.DacInstanceCollection
A DacInstanceCollection object that enumerates the DAC instances deployed or registered on the instance of the Database Engine associated with the DacStore object.

See Also

Reference

DacDomain Class

Microsoft.SqlServer.Management.Dac Namespace