SPFile.CheckIn - Méthode (String, SPCheckinType)

Dans le fichier à une bibliothèque de documents basé sur le commentaire spécifié et le type de vérification dans pour effectuer des contrôles.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub CheckIn ( _
    comment As String, _
    checkInType As SPCheckinType _
)
'Utilisation
Dim instance As SPFile
Dim comment As String
Dim checkInType As SPCheckinType

instance.CheckIn(comment, checkInType)
public void CheckIn(
    string comment,
    SPCheckinType checkInType
)

Paramètres

  • comment
    Type : System.String

    Une chaîne contenant un commentaire sur l'archivage.

Exceptions

Exception Condition
SpException

checkInType est supérieur à OverwriteCheckIn ou inférieur à MinorCheckIn, ou une erreur s'est produite lors de la vérification dans le fichier.

Voir aussi

Référence

SPFile classe

SPFile - Membres

CheckIn - Surcharge

Microsoft.SharePoint - Espace de noms