共用方式為


HttpProtocol.WebSite 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WebSite As String 
    Get 
    Set
'用途
Dim instance As HttpProtocol 
Dim value As String 

value = instance.WebSite

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

屬性值

型別:System.String
A String value that specifies the Web site with which the HTTP protocol is associated.

備註

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

範例

實作端點

請參閱

參考

HttpProtocol 類別

Microsoft.SqlServer.Management.Smo 命名空間