다음을 통해 공유


DocumentSet.Provision Method (Boolean)

Updates the schema of the document set item and its parent list.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Sub Provision ( _
    bProvisionDefaultContent As Boolean _
)
'Usage
Dim instance As DocumentSet
Dim bProvisionDefaultContent As Boolean

instance.Provision(bProvisionDefaultContent)
public void Provision(
    bool bProvisionDefaultContent
)

Parameters

  • bProvisionDefaultContent
    Type: System.Boolean

    true if the default documents for the content type will be added to the document set as part of provisioning. If the documents already exist, then an exception is thrown.

Remarks

This method updates the document set item with any changes made to allowed content types for its content type. It also adds the newly added cotnent types to the list so that they are allowed in it.

See Also

Reference

DocumentSet Class

DocumentSet Members

Provision Overload

Microsoft.Office.DocumentManagement.DocumentSets Namespace