Udostępnij przez


Właściwość DeployedDacCollection.Item (String, String)

Zwraca obiekt o podanej nazwie kolekcja

Przestrzeń nazw:  Microsoft.SqlServer.Management.Utility
Zestaw:  Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String, _
    serverInstanceName As String _
) As DeployedDac
    Get
'Użycie
Dim instance As DeployedDacCollection
Dim name As String
Dim serverInstanceName As String
Dim value As DeployedDac

value = instance(name, serverInstanceName)
public DeployedDac this[
    string name,
    string serverInstanceName
] { get; }
public:
property DeployedDac^ default[String^ name, String^ serverInstanceName] {
    DeployedDac^ get (String^ name, String^ serverInstanceName);
}
member Item : DeployedDac
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

  • serverInstanceName
    Typ: System.String
    A String wartość, która określa nazwę wystąpienie serwera.

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Utility.DeployedDac
A DeployedDac obiektu wartość reprezentująca wdrożonym DAC z określonej nazwy.