Share via


SqlServerName Propiedad

Gets the name of the Microsoft SQL Server instance to which this object is connected.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public ReadOnly Property SqlServerName As String
    Get
'Uso
Dim instance As ReplicationObject
Dim value As String

value = instance.SqlServerName
public string SqlServerName { get; }
public:
property String^ SqlServerName {
    String^ get ();
}
member SqlServerName : string
function get SqlServerName () : String

Valor de la propiedad

Tipo: System. . :: . .String
A String value.

Notas

This property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.