Share via


ConnectionSettings.ThrowIfPropertyNotSet Method

Include Protected Members
Include Inherited Members

Throws an exception if a connection property is not set.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method ThrowIfPropertyNotSet(String, String) Throws an exception if the specified connection property is null or empty.
Protected method ThrowIfPropertyNotSet(String, String, Boolean) Throws an exception if the specified connection property is null or, optionally, empty.

Top

See Also

Reference

ConnectionSettings Class

Microsoft.SqlServer.Management.Common Namespace