RecycleBinItem.Author 屬性
取得值,指定建立資源回收筒項目的使用者。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public ReadOnly Property Author As User
Get
'用途
Dim instance As RecycleBinItem
Dim value As User
value = instance.Author
public User Author { get; }
屬性值
類型:Microsoft.SharePoint.Client.User
傳回代表所建立的資源回收筒項目之使用者的User執行個體。
例外狀況
例外狀況 | 條件 |
---|---|
[Microsoft.SharePoint.SPException] | 找不到使用者。錯誤碼 ︰-2146232832。 |
[System.UnauthorizedAccessException] | 目前的使用者會有足夠的權限。錯誤碼 ︰-2147024891 |