Proprietà DeployedDacCollection.Item (String, String)
Returns the object with the specified name in the collection
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String, _
serverInstanceName As String _
) As DeployedDac
Get
'Utilizzo
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
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the computer.
- serverInstanceName
Tipo: System.String
A String value that specifies the name of the server instance.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Utility.DeployedDac
A DeployedDac object value that represents the deployed DAC with the specified name.