MetadataProviderUtils.GetStoredProcParameters(String, IMetadataFactory, ISystemDataTypeLookup, CollationInfo, ParseOptions) MetadataProviderUtils.GetStoredProcParameters(String, IMetadataFactory, ISystemDataTypeLookup, CollationInfo, ParseOptions) Method

Definition

Retrieves the stored procedure parameters.

public:
 static Microsoft::SqlServer::Management::SqlParser::Metadata::IMetadataOrderedCollection<Microsoft::SqlServer::Management::SqlParser::Metadata::IParameter ^> ^ GetStoredProcParameters(System::String ^ storedProcText, Microsoft::SqlServer::Management::SqlParser::MetadataProvider::IMetadataFactory ^ metadataFactory, Microsoft::SqlServer::Management::SqlParser::MetadataProvider::ISystemDataTypeLookup ^ dataTypeLookup, Microsoft::SqlServer::Management::SqlParser::Metadata::CollationInfo ^ collationInfo, Microsoft::SqlServer::Management::SqlParser::Parser::ParseOptions ^ parseOptions);
public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataOrderedCollection<Microsoft.SqlServer.Management.SqlParser.Metadata.IParameter> GetStoredProcParameters (string storedProcText, Microsoft.SqlServer.Management.SqlParser.MetadataProvider.IMetadataFactory metadataFactory, Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ISystemDataTypeLookup dataTypeLookup, Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo collationInfo, Microsoft.SqlServer.Management.SqlParser.Parser.ParseOptions parseOptions);
Parameters
storedProcText
String String

The stored procedure text.

metadataFactory
IMetadataFactory IMetadataFactory

The IMetadataFactory object that is used to create metadata objects.

dataTypeLookup
ISystemDataTypeLookup ISystemDataTypeLookup

The ISystemDataTypeLookup object that is used to search for available system data types.

collationInfo
CollationInfo CollationInfo

The CollationInfo object that represents the collation of the related database.

parseOptions
ParseOptions ParseOptions

The parsing options.

Returns

An ordered collection of parameters; null if no parameters are present.

Applies to