Compartilhar via


Propriedade ForReplication

Gets or sets the Boolean property value that specifies whether the stored procedure is available for replication.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ForReplication As Boolean
    Get
    Set
'Uso
Dim instance As StoredProcedure
Dim value As Boolean

value = instance.ForReplication

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

Valor da propriedade

Tipo: 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.