Поделиться через


Свойство Database.MirroringSafetyLevel

Gets or sets the mirroring safety level.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MirroringSafetyLevel As MirroringSafetyLevel 
    Get 
    Set
'Применение
Dim instance As Database 
Dim value As MirroringSafetyLevel 

value = instance.MirroringSafetyLevel

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

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.MirroringSafetyLevel
A MirroringSafetyLevel object value that specifies the mirroring safety level.

Примеры

Работа с объектами базы данных

См. также

Справочник

Database Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Администрирование зеркального отображения базы данных

Реализация конечных точек

Создание, изменение и удаление баз данных

CREATE DATABASE (Transact-SQL)