Credential Class
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Credentials provide SQL Server authenticated users with an identity outside of SQL Server, on the local machine or on the network domain.
Credentials can also be used when a SQL Server authenticated user needs access to a domain resource, such as a file location to store a backup.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
To get Credential object properties, users can be a member of the public fixed server role.
To set Credential object properties and run the Alter method, users must have ALTER ANY CREDENTIAL permission on the parent server, or be a member of the sysadmin fixed server role.
To create a credential, users must have ALTER ANY CREDENTIAL permission on the parent server, or be a member of the sysadmin fixed server role.
To drop a credential, users must have ALTER ANY CREDENTIAL permission on the parent server, or be a member of the sysadmin fixed server role.
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.NamedSmoObject
Microsoft.SqlServer.Management.Smo.Credential
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
Reference
Credential MembersMicrosoft.SqlServer.Management.Smo Namespace
Other Resources
CREATE CREDENTIAL (Transact-SQL)Credentials