DocumentSet.Provision method
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
'Usage
Dim instance As DocumentSet
instance.Provision()
public void Provision()
Exceptions
Exception | Condition |
---|---|
Exception | A file with a name equal to one of the default documents already exists in the document set. |
Remarks
Updates the document set item with any changes made to allowed content types for its content type. The method also adds the newly added content types to the list so that they are allowed in it.
See also
Reference
Microsoft.Office.DocumentManagement.DocumentSets namespace
DocumenSetProvision(Boolean)