Dela via


HttpProtocol.WebSiteUrlPath Property

Gets or sets the URL path for the Web site with which the HTTP protocol is associated.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WebSiteUrlPath As String
    Get
    Set
'Usage
Dim instance As HttpProtocol
Dim value As String

value = instance.WebSiteUrlPath

instance.WebSiteUrlPath = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string WebSiteUrlPath { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ WebSiteUrlPath {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member WebSiteUrlPath : string with get, set
function get WebSiteUrlPath () : String
function set WebSiteUrlPath (value : String)

Property Value

Type: System.String
A String value that specifies the URL path based on the value of the WebSite property.

Remarks

If the WebSiteUrlPath property value is not specified then the value //localhost is assumed.

Examples

For example, specify the value /Here for the URL path https://localhost/Here.