Jaa


HttpProtocol.WebSite Property

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
Public Property WebSite As String
public string WebSite { get; set; }
public:
property String^ WebSite {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_WebSite ()

/** @property */
public void set_WebSite (String value)
public function get WebSite () : String

public function set WebSite (value : String)

Property Value

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

Remarks

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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

HttpProtocol Class
HttpProtocol Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Implementing Endpoints