次の方法で共有


TransPublicationCollection.Item プロパティ (String)

コレクション内にある指定した名前の TransPublication オブジェクトを取得します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String _
) As TransPublication 
    Get
'使用
Dim instance As TransPublicationCollection 
Dim name As String 
Dim value As TransPublication 

value = instance(name)
public TransPublication this[
    string name
] { get; }
public:
property TransPublication^ default[String^ name] {
    TransPublication^ get (String^ name);
}
member Item : TransPublication
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • name
    型: System.String
    トランザクション パブリケーションまたはスナップショット パブリケーションの名前を指定する String 値です。

プロパティ値

型: Microsoft.SqlServer.Replication.TransPublication
TransPublication オブジェクトです。

説明

この名前空間、クラス、またはメンバーは、.NET Framework 2.0 でのみサポートされています。

関連項目

参照

TransPublicationCollection クラス

Item オーバーロード

Microsoft.SqlServer.Replication 名前空間