AvailabilityReplicaCollection.Item 属性 (String)
Gets the specified item from the collection with the specified name.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityReplica
Get
用法
Dim instance As AvailabilityReplicaCollection
Dim name As String
Dim value As AvailabilityReplica
value = instance(name)
public AvailabilityReplica this[
string name
] { get; }
public:
property AvailabilityReplica^ default[String^ name] {
AvailabilityReplica^ get (String^ name);
}
member Item : AvailabilityReplica
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System.String
The name of the item.
属性值
类型:Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The specified item from the collection.