Item 属性 (String)

Gets a DacInstance..::..Key object for the DAC instance that has the specified name.

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As DacInstance
    Get
用法
Dim instance As DacInstanceCollection
Dim name As String
Dim value As DacInstance

value = instance(name)
public DacInstance this[
    string name
] { get; }
public:
property DacInstance^ default[String^ name] {
    DacInstance^ get (String^ name);
}
member Item : DacInstance
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.SqlServer.Management.Dac. . :: . .DacInstance
A DacInstance..::..Key object for the specified DAC instance.