Compartir a través de


Database.MirroringWitness Propiedad

Gets or sets the name of the Motor de base de datos instance of the database mirroring witness server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirroringWitness As String 
    Get 
    Set
'Uso
Dim instance As Database 
Dim value As String 

value = instance.MirroringWitness

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

Valor de la propiedad

Tipo: System.String
A String value that specifies the name of the Motor de base de datos instance of the database mirroring witness server.

Ejemplos

Trabajar con objetos de bases de datos

Vea también

Referencia

Database Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Administración de la creación de reflejo de la base de datos

Implementar extremos

Crear, modificar y eliminar bases de datos

CREATE DATABASE (Transact-SQL)