Partager via


ConnectionSettings.ThrowIfPropertyNotSet Method (String, String, Boolean)

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
Protected Function ThrowIfPropertyNotSet ( _
    propertyName As String, _
    str As String, _
    checkEmpty As Boolean _
) As String
protected string ThrowIfPropertyNotSet (
    string propertyName,
    string str,
    bool checkEmpty
)
protected:
String^ ThrowIfPropertyNotSet (
    String^ propertyName, 
    String^ str, 
    bool checkEmpty
)
protected String ThrowIfPropertyNotSet (
    String propertyName, 
    String str, 
    boolean checkEmpty
)
protected function ThrowIfPropertyNotSet (
    propertyName : String, 
    str : String, 
    checkEmpty : boolean
) : String

Paramètres

  • propertyName
  • str
  • checkEmpty

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ConnectionSettings Class
ConnectionSettings Members
Microsoft.SqlServer.Management.Common Namespace