Metodo NamedComponentCollection.IsValidID (String, Type, String%)
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Determines whether the named component collection identifier is valid.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Protected Function IsValidID ( _
id As String, _
type As Type, _
<OutAttribute> ByRef error As String _
) As Boolean
'Utilizzo
Dim id As String
Dim type As Type
Dim error As String
Dim returnValue As Boolean
returnValue = Me.IsValidID(id, type, _
error)
protected bool IsValidID(
string id,
Type type,
out string error
)
protected:
bool IsValidID(
String^ id,
Type^ type,
[OutAttribute] String^% error
)
member IsValidID :
id:string *
type:Type *
error:string byref -> bool
protected function IsValidID(
id : String,
type : Type,
error : String
) : boolean
Parametri
- id
Tipo: System.String
The identifier.
- type
Tipo: System.Type
The type.
- error
Tipo: System.String%
The error.
Valore restituito
Tipo: System.Boolean
true if the named component collection identifier is valid; otherwise, false.