Propriedade do RDL LinkedServer.ProductName
Gets or sets the name of the product to which SQL Server can connect through the OLE DB Provider.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ProductName As String
Get
Set
'Uso
Dim instance As LinkedServer
Dim value As String
value = instance.ProductName
instance.ProductName = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string ProductName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ ProductName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member ProductName : string with get, set
function get ProductName () : String
function set ProductName (value : String)
Valor da propriedade
Tipo: System.String
A String value that specifies the name of the product.
Exemplos
Usando servidores vinculados no SMO
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo