Export (0) Print
Expand All

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)

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.
Show:
© 2014 Microsoft