Compartir a través de


Credential Constructor (Server, String)

Initializes a new instance of the Credential class on the specified instance of SQL Server and with the specified name.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    server As Server, _
    name As String _
)
public Credential (
    Server server,
    string name
)
public:
Credential (
    Server^ server, 
    String^ name
)
public Credential (
    Server server, 
    String name
)
public function Credential (
    server : Server, 
    name : String
)

Parámetros

  • server
    A Server object value that specifies instance of SQL Server on which the credential is created.
  • name
    A String value that specifies the name of the credential.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Construct an Object in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Credential Class
Credential Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

CREATE CREDENTIAL (Transact-SQL)
Credenciales