Compartir a través de


DistributionSubscription.Status Propiedad

Gets or sets the status of the subscription.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Property Status As SubscriptionState 
    Get 
    Set
'Uso
Dim instance As DistributionSubscription 
Dim value As SubscriptionState 

value = instance.Status

instance.Status = value
public SubscriptionState Status { get; set; }
public:
property SubscriptionState Status {
    SubscriptionState get ();
    void set (SubscriptionState value);
}
member Status : SubscriptionState with get, set
function get Status () : SubscriptionState 
function set Status (value : SubscriptionState)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Replication.SubscriptionState
The status of a subscription.

Comentarios

This property cannot be set for an existing subscription.

The Status property can only be retrieved by members of the db_owner fixed database role on the distribution database.

The Status property can be set by any user.

Vea también

Referencia

DistributionSubscription Clase

Espacio de nombres Microsoft.SqlServer.Replication