共用方式為


Status 屬性

Gets or sets the agent status.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property Status As ReplicationStatus
    Get
    Set
'用途
Dim instance As ReplicationStatusAndWarning
Dim value As ReplicationStatus

value = instance.Status

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

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.