SessionState 属性

获取或设置用于定义会话当前是否正在同步的 SyncSessionState 对象。

命名空间:  Microsoft.Synchronization
程序集:  Microsoft.Synchronization.Data(在 Microsoft.Synchronization.Data.dll 中)

语法

声明
Public Property SessionState As SyncSessionState
    Get
    Private Set
用法
Dim instance As SyncAgent
Dim value As SyncSessionState

value = instance.SessionState
public SyncSessionState SessionState { get; private set; }
public:
property SyncSessionState SessionState {
    SyncSessionState get ();
    private: void set (SyncSessionState value);
}
member SessionState : SyncSessionState with get, private set
function get SessionState () : SyncSessionState
private function set SessionState (value : SyncSessionState)

属性值

类型:Microsoft.Synchronization. . :: . .SyncSessionState
一个 SyncSessionState 对象,用于定义会话当前是否正在进行同步。

请参阅

参考

SyncAgent类

SyncAgent 成员

Microsoft.Synchronization 命名空间