Isbulkadmin Property

SQL-DMO

SQL-DMO

Isbulkadmin Property

The Isbulkadmin property reports membership in the fixed server role bulkadmin for the SQL-DMO connection.

Applies To
SQLServer2 Object  
Syntax

object.Isbulkadmin

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetIsbulkadmin(LPBOOL pRetVal);

Remarks

Members of the Microsoft® SQL Server™ fixed server role bulkadmin have permission to execute BULK INSERT statements. For more information about adding members to a server role, see AddMember Method.

When TRUE, the login authenticating client application connection is a member of the bulkadmin role.

When FALSE, the login authenticating client application connection is not a member of the role.

Note  If an application calls Isbulkadmin on an instance of SQL Server version 7.0, the a value of False is returned.