MS Push Windream
This commit is contained in:
parent
078282c579
commit
7b7b17b657
@ -704,7 +704,8 @@ Public Class Windream
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function NewFileStream(ByVal FilenameSource As String, ByVal FilenameTarget As String) As Boolean
|
Public Function NewFileStream(ByVal FilenameSource As String, ByVal FilenameTarget As String, ByVal WMObjecttypeName As String) As Boolean
|
||||||
|
|
||||||
NewDocumentID = 0
|
NewDocumentID = 0
|
||||||
Dim oExtension As String = Path.GetExtension(FilenameSource)
|
Dim oExtension As String = Path.GetExtension(FilenameSource)
|
||||||
|
|
||||||
@ -776,6 +777,10 @@ Public Class Windream
|
|||||||
_logger.Debug("Closing Stream")
|
_logger.Debug("Closing Stream")
|
||||||
oWMStream.Close()
|
oWMStream.Close()
|
||||||
_logger.Debug("Saving new object")
|
_logger.Debug("Saving new object")
|
||||||
|
|
||||||
|
|
||||||
|
oWMObject.aObjectType = GetObjectByName(WMObjecttypeName, WMEntityObjectType)
|
||||||
|
|
||||||
oWMObject.Save()
|
oWMObject.Save()
|
||||||
_logger.Debug("Unlocking new object")
|
_logger.Debug("Unlocking new object")
|
||||||
oWMObject.unlock()
|
oWMObject.unlock()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user