IWebSite.IsLocal Property

Applies to v2.

Gets a value that indicates whether the current web site profile opened in WebMatrix is remote or local.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property IsLocal As Nullable(Of Boolean)
    Get
'Usage
Dim instance As IWebSite 
Dim value As Nullable(Of Boolean)

value = instance.IsLocal
Nullable<bool> IsLocal { get; }
property Nullable<bool> IsLocal {
    Nullable<bool> get ();
}
abstract IsLocal : Nullable<bool>
function get IsLocal () : Nullable<boolean>

Property Value

Type: System.Nullable<Boolean>
true if the profile is local; false if the profile is remote; nulla null reference (Nothing in Visual Basic) if no site or no profile is available.

See Also

Reference

IWebSite Interface

Microsoft.WebMatrix.Extensibility Namespace