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 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

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