HttpProtocol.WebSiteUrlPath プロパティ
HTTP プロトコルが関連付けられている Web サイトの URL パスを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WebSiteUrlPath As String
Get
Set
'使用
Dim instance As HttpProtocol
Dim value As String
value = instance.WebSiteUrlPath
instance.WebSiteUrlPath = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string WebSiteUrlPath { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ WebSiteUrlPath {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member WebSiteUrlPath : string with get, set
function get WebSiteUrlPath () : String
function set WebSiteUrlPath (value : String)
プロパティ値
型: System.String
WebSite プロパティの値に基づく URL パスを示す String 値。
説明
WebSiteUrlPath プロパティ値を指定しない場合、値 //localhost が想定されます。
使用例
たとえば、URL パス https://localhost/Here には、値 /Here を指定します。
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間