 | ICommenceDatabasePromoteItemToShared Method |
Promotes a local item to shared status, provided the database is connected and the category is shared. If the item is already shared, its status is unchanged. Note that there is no way to demote an item from shared to local status.
Whenever possible, use a clarified Item name.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxbool PromoteItemToShared(
string categoryName,
string itemName
)
Function PromoteItemToShared (
categoryName As String,
itemName As String
) As Boolean
Parameters
- categoryName
- Type: SystemString
Commence category name. - itemName
- Type: SystemString
Commence item name.
Return Value
Type:
Booleantrue on success, inspect
GetLastError on failure.
See Also