Redigera

Dela via


SqlDataSourceConnectionStringEditor.GetProviderName(Object) Method

Definition

Returns the ProviderName property of the SqlDataSource object.

protected:
 override System::String ^ GetProviderName(System::Object ^ instance);
protected override string GetProviderName (object instance);
override this.GetProviderName : obj -> string
Protected Overrides Function GetProviderName (instance As Object) As String

Parameters

instance
Object

The SqlDataSource that the connection string applies to.

Returns

The ProviderName property of the SqlDataSource, if the instance is not null; otherwise, an empty string ("").

Applies to

See also