Propriété DeployedDacCollection.Item (String, String)
Returns the object with the specified name in the collection
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String, _
serverInstanceName As String _
) As DeployedDac
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
A String value that specifies the name of the computer.
- serverInstanceName
Type : System.String
A String value that specifies the name of the server instance.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Utility.DeployedDac
A DeployedDac object value that represents the deployed DAC with the specified name.