Udostępnij przez


DatabaseMirroringPayload.ServerMirroringRole Property

Gets or sets the server mirroring role.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property ServerMirroringRole As ServerMirroringRole
[SfcPropertyAttribute] 
public ServerMirroringRole ServerMirroringRole { get; set; }
[SfcPropertyAttribute] 
public:
property ServerMirroringRole ServerMirroringRole {
    ServerMirroringRole get ();
    void set (ServerMirroringRole value);
}
/** @property */
public ServerMirroringRole get_ServerMirroringRole ()

/** @property */
public void set_ServerMirroringRole (ServerMirroringRole value)
public function get ServerMirroringRole () : ServerMirroringRole

public function set ServerMirroringRole (value : ServerMirroringRole)

Property Value

A ServerMirroringRole object value that specifies the server mirroring role.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.