SPSite.Impersonating property
取得Boolean值,指出SPSite物件的模擬狀態。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Impersonating As Boolean
Get
'用途
Dim instance As SPSite
Dim value As Boolean
value = instance.Impersonating
public bool Impersonating { get; }
Property value
Type: System.Boolean
true如果網站集合建立SPSite物件的SPUserToken參數,表示模擬使用者 ; 的識別否則, false。