次の方法で共有


Item プロパティ (String, String)

コレクション内の指定された名前のオブジェクトを返します。

名前空間:  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
指定した名前の配置済み DAC を表す DeployedDac オブジェクト値です。