FederationCollection.Item[] 属性

定义

返回集合中的联合对象。

重载

Item[Int32]

返回集合中指定索引处的联合对象。

Item[String]

返回集合中具有指定名称的联合对象。

Item[Int32]

返回集合中指定索引处的联合对象。

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

参数

index
Int32

集合中的联合索引。

属性值

指定索引处的联合对象。

适用于

Item[String]

返回集合中具有指定名称的联合对象。

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

参数

name
String

联合的名称。

属性值

具有指定名称的联合对象。

适用于