共用方式為


DeployedDacCollection.Item 屬性 (String, String)

Returns the object with the specified name in the collection

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public ReadOnly Default Property Item ( _
    name As String, _
    serverInstanceName As String _
) As DeployedDac 
    Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

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

屬性值

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

請參閱

參考

DeployedDacCollection 類別

Item 多載

Microsoft.SqlServer.Management.Utility 命名空間