共用方式為


WebSiteUrlPath 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property WebSiteUrlPath As String
    Get
    Set
'用途
Dim instance As HttpProtocol
Dim value As String

value = instance.WebSiteUrlPath

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

屬性值

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

備註

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

範例

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