SqlDataSourceConnectionStringEditor.GetProviderName(Object) 方法

定義

傳回 ProviderName 物件的 SqlDataSource 屬性。

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

參數

instance
Object

連接字串套用至的 SqlDataSource

傳回

如果 instance 不是 null,則為 ProviderNameSqlDataSource 屬性,否則為空字串 ("")。

適用於

另請參閱