TransPublicationCollection.Item[] 属性

定义

按名称或按索引号获取集合中的 TransPublication 对象。

重载

Item[Int32]

按索引号获取集合中的 TransPublication 对象。

Item[String]

按名称获取集合中的 TransPublication 对象。

注解

仅 .NET Framework 的 2.0 版本支持此命名空间、类或成员。

Item[Int32]

按索引号获取集合中的 TransPublication 对象。

public:
 property Microsoft::SqlServer::Replication::TransPublication ^ default[int] { Microsoft::SqlServer::Replication::TransPublication ^ get(int index); };
public Microsoft.SqlServer.Replication.TransPublication this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Replication.TransPublication
Default Public ReadOnly Property Item(index As Integer) As TransPublication

参数

index
Int32

一个Int32值,该值指定对象在 . 中TransPublicationCollection的位置TransPublication

属性值

TransPublication 对象。

注解

仅 .NET Framework 的 2.0 版本支持此命名空间、类或成员。

适用于

Item[String]

按名称获取集合中的 TransPublication 对象。

public:
 property Microsoft::SqlServer::Replication::TransPublication ^ default[System::String ^] { Microsoft::SqlServer::Replication::TransPublication ^ get(System::String ^ name); };
public Microsoft.SqlServer.Replication.TransPublication this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Replication.TransPublication
Default Public ReadOnly Property Item(name As String) As TransPublication

参数

name
String

一个指定事务发布或快照发布的名称的 String 值。

属性值

TransPublication 对象。

注解

仅 .NET Framework 的 2.0 版本支持此命名空间、类或成员。

适用于