Freigeben über


HttpProtocol.WebSite-Eigenschaft

Gets or sets 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 WebSite As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Hinweise

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

Beispiele

Implementieren von Endpunkten

Siehe auch

Verweis

HttpProtocol Klasse

Microsoft.SqlServer.Management.Smo-Namespace