GuoidObject Constructor (Int32, Int32, CSFileObjectTypes, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the GuoidObject class directly from an existing Content Studio document, category or unit.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public GuoidObject(
	int connectionId,
	int sessionId,
	CSFileObjectTypes objectType,
	int objectId
)

Parameters

connectionId
Type: SystemInt32
The connection id.
sessionId
Type: SystemInt32
The session id.
objectType
Type: ContentStudio.DocumentCSFileObjectTypes
Type of the object.
objectId
Type: SystemInt32
The object id.
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

All users with a valid session can execute this method. Anonymous access is not supported.
See Also

Reference