Partilhar via


ConnectionSettings.ThrowIfPropertyNotSet Method (String, String)

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Protected Function ThrowIfPropertyNotSet ( _
    propertyName As String, _
    str As String _
) As String
protected string ThrowIfPropertyNotSet (
    string propertyName,
    string str
)
protected:
String^ ThrowIfPropertyNotSet (
    String^ propertyName, 
    String^ str
)
protected String ThrowIfPropertyNotSet (
    String propertyName, 
    String str
)
protected function ThrowIfPropertyNotSet (
    propertyName : String, 
    str : String
) : String

Parameters

  • propertyName
  • str

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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