The Encrypted property indicates whether the referenced stored procedure was created with encryption.
object. Encrypted
object
Expression that evaluates to an object in the Applies To list
Boolean
Read-only
HRESULT GetEncrypted(LPBOOL pRetVal);
The Encrypted property returns TRUE if a stored procedure was created with encryption. This is useful when determining whether a stored procedure can be replicated, because encrypted stored procedures cannot be replicated.
Note Encrypted can be used with Microsoft® SQL Server™ 2000 and SQL Server version 7.0, except when used with the UserDefinedFunction object.