ContentByQueryWebPart.ServerTemplate property

The server template number to query for.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property ServerTemplate As String
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String

value = instance.ServerTemplate

instance.ServerTemplate = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string ServerTemplate { get; set; }

Property value

Type: System.String
An integer representing the server template number to query for.

Remarks

This number represent the Windows SharePoint Services 3.0 list type.

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace

ContentByQueryWebPart