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.

示例

实现端点