Dela via


IServerConfigurationFacet.RemoteAccessEnabled Property

Gets a Boolean value that specifies if the RemoteAccessEnabled property has been set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property RemoteAccessEnabled As Boolean
    Get
    Set
'Usage
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.RemoteAccessEnabled

instance.RemoteAccessEnabled = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
bool RemoteAccessEnabled { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property bool RemoteAccessEnabled {
    bool get ();
    void set (bool value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract RemoteAccessEnabled : bool with get, set
function get RemoteAccessEnabled () : boolean
function set RemoteAccessEnabled (value : boolean)

Property Value

Type: System.Boolean
Boolean
Returns True if the property is set.
Returns False if the property is not set.