Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
This method can only successfully be executed
by sessions that have the ServiceQueueAdmin global right.
[This is preliminary documentation and is subject to change.]
Returns a list of documents that are about to be sent for subscription.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Return Value
Type: StringXml with the following syntax.
<root> <status>0</status> <statustext>Success</statustext> <documents> <document documentid="Integer value" categoryid="Integer value" name="String value" /> <!-- more document elements can follow --> </documents> </root>
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
CSPermissionDeniedException | The caller has no permission to perform the requested action |
CSInvalidSessionException | The session is invalid |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
Remarks
This "low-level" method is used by the DocumentsForSubscription(ConnectionId, SessionId) method which is more intuitive and simpler to use. Content Studio Service Manager calls this method to discover all documents that should be sent for subscription.
Note |
---|
This method is new in Content Studio 5.2 |
See Also