共用方式為


Status 屬性

Gets or sets the last status logged by a replication agent.

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

語法

'宣告
Public Property Status As ReplicationStatus
    Get
    Set
'用途
Dim instance As AgentJobHistoryInfo
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)

屬性值

型別:Microsoft.SqlServer.Replication. . :: . .ReplicationStatus
A ReplicationStatus object value that specifies the status.

備註

This namespace, class, or member is supported only in the .NET Framework2.0.