Méthode NamedComponentCollection.IsValidName (String, Type, String%)
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Determines whether the named component collection name is valid.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Protected Function IsValidName ( _
name As String, _
type As Type, _
<OutAttribute> ByRef error As String _
) As Boolean
'Utilisation
Dim name As String
Dim type As Type
Dim error As String
Dim returnValue As Boolean
returnValue = Me.IsValidName(name, _
type, error)
protected bool IsValidName(
string name,
Type type,
out string error
)
protected:
bool IsValidName(
String^ name,
Type^ type,
[OutAttribute] String^% error
)
member IsValidName :
name:string *
type:Type *
error:string byref -> bool
protected function IsValidName(
name : String,
type : Type,
error : String
) : boolean
Paramètres
- name
Type : System.String
The name.
- type
Type : System.Type
The type.
- error
Type : System.String%
The error.
Valeur de retour
Type : System.Boolean
true if the named component collection name is valid; otherwise, false.