File.CheckIn メソッド
Checks the file in to a document library based on the check-in type.
名前空間: 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 CheckIn ( _
comment As String, _
checkInType As CheckinType _
)
'使用
Dim instance As File
Dim comment As String
Dim checkInType As CheckinType
instance.CheckIn(comment, checkInType)
public void CheckIn(
string comment,
CheckinType checkInType
)
パラメーター
comment
型: System.StringSpecifies a comment for the check-in.
Its length must be equal to or less than 1023.
checkInType
型: Microsoft.SharePoint.Client.CheckinTypeSpecifies the type of check-in.
例外
例外 | 条件 |
---|---|
[Microsoft.SharePoint.SPFileCheckOutException] | File is not checked out. Error code: -2147024738. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |