Share via


Propriété RemoteAccessEnabled

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property RemoteAccessEnabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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