Partager via


Propriété Item (String)

Gets a DacInstance..::..Key object for the DAC instance that has the specified name.

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As DacInstance
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Dac. . :: . .DacInstance
A DacInstance..::..Key object for the specified DAC instance.