SPDocumentLibrary.ServerRelativeDocumentTemplateUrl property
Gets the server-relative URL of the document template for the library.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ServerRelativeDocumentTemplateUrl As String
Get
'Usage
Dim instance As SPDocumentLibrary
Dim value As String
value = instance.ServerRelativeDocumentTemplateUrl
public string ServerRelativeDocumentTemplateUrl { get; }
Property value
Type: System.String
A string that contains the URL. If the absolute URL to the document template is http://MyServer//MyWebSite/Shared Documents/Forms/template.doc, this property returns /MyWebSite/Shared Documents/Forms/template.doc.