مشاركة عبر


DeployedDacCollection.Item Property (String, String)

Returns the object with the specified name in the collection

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String, _
    serverInstanceName As String _
) As DeployedDac 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • serverInstanceName
    Type: System.String
    A String value that specifies the name of the server instance.

Property Value

Type: Microsoft.SqlServer.Management.Utility.DeployedDac
A DeployedDac object value that represents the deployed DAC with the specified name.

See Also

Reference

DeployedDacCollection Class

Item Overload

Microsoft.SqlServer.Management.Utility Namespace