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.