Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseReplicaStateCollection.Item Property (String, String)


Gets a DatabaseReplicaState object in the collection by name.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public DatabaseReplicaState this[
	string replicaName,
	string name
] { get; }


Type: System.String

The name of the replica.

Type: System.String

A value that specifies the name of the DatabaseReplicaState object in the DatabaseReplicaStateCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseReplicaState

A DatabaseReplicaState object value that represents the database role.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft