Unpublish a node, by removing it from the runtime xml index. Note, prior to this the Document should be
marked unpublished by setting the publish propertyon the document object to false
Namespace: umbraco
Assembly: umbraco (in umbraco)
Version: 1.0.2698.41384
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Sub UnPublishSingleNode ( _ DocumentId As Integer _ ) |
| C# |
|---|
public static void UnPublishSingleNode ( int DocumentId ) |
| Visual C++ |
|---|
public: static void UnPublishSingleNode ( int DocumentId ) |
Parameters
- DocumentId
- System.Int32
The Id of the Document to be unpublished