Export (0) Print
Expand All
Expand Minimize

AsymKey_ID (Transact-SQL)

Returns the ID of an asymmetric key.

Topic link icon Transact-SQL Syntax Conventions


AsymKey_ID ( 'Asym_Key_Name' )

Asym_Key_Name

Is the name of an asymmetric key in the database.

Requires some permission on the asymmetric key and that the caller has not been denied VIEW permission on the asymmetric key.

The following example returns the ID of asymmetric key ABerglundKey11.

SELECT ASYMKEY_ID('ABerglundKey11');
GO
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft