Aracılığıyla paylaş


Database.MirroringPartnerInstance Property

Gets the instance of SQL Server on which the mirroring partner is configured.

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

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringPartnerInstance As String
    Get
'Kullanım
Dim instance As Database
Dim value As String

value = instance.MirroringPartnerInstance
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string MirroringPartnerInstance { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ MirroringPartnerInstance {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringPartnerInstance : string
function get MirroringPartnerInstance () : String

Property Value

Type: System.String
A String value that specifies the instance of SQL Server.

Examples

Working with Database Objects

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Mirroring Administration

Implementing Endpoints

Creating, Altering, and Removing Databases

CREATE DATABASE (Transact-SQL)