Publishes a Document by adding it to the runtime xml index. Note, prior to this the Document should be
marked published by calling Publish(User u) on the document object.
Namespace: umbraco
Assembly: umbraco (in umbraco)
Version: 1.0.2698.41384
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Sub PublishSingleNode ( _ DocumentId As Integer _ ) |
| C# |
|---|
public static void PublishSingleNode ( int DocumentId ) |
| Visual C++ |
|---|
public: static void PublishSingleNode ( int DocumentId ) |
Parameters
- DocumentId
- System.Int32
The Id of the Document to be unpublished