SPCFolder.ChangeName
Syntax | Parameters | Return Value |
---|---|---|
Sub SPCFolder.ChangeName( _ Name As String, _ UpdateInfo As FolderUpdateInfo) |
Type: String Type: FolderUpdateInfo |
This function does not return a value. |
SVB Example
Adding a folder:
Sub Main Dim oOM As ObjectManager 'Reconnect into Enterprise ObjectManager Set oOM = New ObjectManager oOM.Reconnect Application Dim myFolderInfo As New FolderCreateInfo myFolderInfo.Name = "Blake's Materialss" myFolderInfo.AuditLogReason = "Adding personal folder for Blake" Dim myFolder As SPCFolder Set myFolder = oOM.RootFolder.NewFolderEx(myFolderInfo) 'After being added, folder can now further edited. Dim folderUpdate As New FolderUpdateInfo folderUpdate.AuditLogReason = """Materials"" was misspelled, Fix that." myFolder.ChangeName("Blake's Materials", folderUpdate) oOM.Disconnect End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.