Compartilhar via


Propriedade SqlServerName

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
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 da propriedade

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

Comentários

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.