ConfigProvider.IVsCfgProvider2.GetCfgOfName Method

Interop provider.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)


Private Function GetCfgOfName ( _
    configurationName As String, _
    platformName As String, _
    <OutAttribute> ByRef configuration As IVsCfg _
) As Integer Implements IVsCfgProvider2.GetCfgOfName
Dim instance As ConfigProvider 
Dim configurationName As String 
Dim platformName As String 
Dim configuration As IVsCfg 
Dim returnValue As Integer 

returnValue = CType(instance, IVsCfgProvider2).GetCfgOfName(configurationName, _
    platformName, configuration)
int IVsCfgProvider2.GetCfgOfName(
    string configurationName,
    string platformName,
    out IVsCfg configuration
virtual int GetCfgOfName(
    String^ configurationName, 
    String^ platformName, 
    [OutAttribute] IVsCfg^% configuration
) sealed = IVsCfgProvider2::GetCfgOfName
private abstract GetCfgOfName : 
        configurationName:string * 
        platformName:string * 
        configuration:IVsCfg byref -> int  
private override GetCfgOfName : 
        configurationName:string * 
        platformName:string * 
        configuration:IVsCfg byref -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.


  • configurationName
    Type: System.String
    A string value that specifies the configuration name.
  • platformName
    Type: System.String
    A string value that specifies the platform name.
  • configuration
    Type: IVsCfg%
    A pointer to a IVsCfg object that specifies the configuration.

Return Value

Type: System.Int32
An integer value.


IVsCfgProvider2GetCfgOfName(String, String, IVsCfg)

See Also


ConfigProvider Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace