Condividi tramite


Isbulkadmin Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The Isbulkadmin property reports membership in the fixed server role bulkadmin for the SQL Distributed Management Objects (SQL-DMO) connection.

Sintassi

Object
.Isbulkadmin

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetIsbulkadmin(LPBOOL pRetVal);

Osservazioni

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.

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

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

[!NOTA] If an application calls Isbulkadmin on an instance of SQL Server version 7.0, a value of FALSE is returned.

Applies To:

SQLServer2 Object