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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ServerTemplate As String
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String
value = instance.ServerTemplate
instance.ServerTemplate = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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.