FileVersionCollection.DeleteAll メソッド
Deletes all the file version objects in the collection.
名前空間: 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 Sub DeleteAll
'使用
Dim instance As FileVersionCollection
instance.DeleteAll()
public void DeleteAll()
例外
例外 | 条件 |
---|---|
SPException | Specified file URL is invalid. Error code: -2130575312. |
DirectoryNotFoundException | File version obtained internally refers to a version that does not exist anymore. Error code: -2147024893. |
UnauthorizedAccessException | The current user has insufficient permissions. Error code: -2147024891. |