DacInstanceCollection.Item Property (String)
Gets a DacInstance.Key object for the DAC instance that has the specified name.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As DacInstance
Get
'Usage
Dim instance As DacInstanceCollection
Dim name As String
Dim value As DacInstance
value = instance(name)
public DacInstance this[
string name
] { get; }
public:
property DacInstance^ default[String^ name] {
DacInstance^ get (String^ name);
}
member Item : DacInstance
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the DAC instance to return.
Property Value
Type: Microsoft.SqlServer.Management.Dac.DacInstance
A DacInstance.Key object for the specified DAC instance.
See Also