Propriedade do RDL Status
Gets or sets the status of the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
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 da propriedade
Tipo: Microsoft.SqlServer.Replication. . :: . .SubscriptionState
A SubscriptionState value.
Comentários
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.
The Status property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Consulte também