Свойство StoredProcedure.ForReplication
Gets or sets the Boolean property value that specifies whether the stored procedure is available for replication.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property ForReplication As Boolean
Get
Set
'Применение
Dim instance As StoredProcedure
Dim value As Boolean
value = instance.ForReplication
instance.ForReplication = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool ForReplication { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
property bool ForReplication {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
member ForReplication : bool with get, set
function get ForReplication () : boolean
function set ForReplication (value : boolean)
Значение свойства
Тип: System.Boolean
A Boolean value that specifies the whether the stored procedure is available for publishing by Microsoft SQL Server replication services.If True, the stored procedure is available for replication.If False (default), the stored procedure is not available for replication.
Примеры
Создание, изменение и удаление хранимых процедур
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo