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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System.String
A String value that specifies the name of the computer.
- 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.