Propriété TcpEnabled
Obtient la valeur booléenne qui détermine si le protocole TCP/IP est activé sur cette instance de SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property TcpEnabled As Boolean
Get
'Utilisation
Dim instance As Server
Dim value As Boolean
value = instance.TcpEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool TcpEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool TcpEnabled {
bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member TcpEnabled : bool
function get TcpEnabled () : boolean
Valeur de propriété
Type : System. . :: . .Boolean
Valeur booléenne qui spécifie si le protocole TCP/IP doit être activé sur l'instance de SQL Server. Retourne True si le protocole TCP/IP est activé, ou False s'il n'est pas activé.